aboutsummaryrefslogtreecommitdiffstats
path: root/lib/zstd/common/compiler.h
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2021-10-12 15:39:28 +0000
committerBartosz Golaszewski <[email protected]>2021-10-13 17:52:41 +0000
commitf4a20dfac88c06c9b529a41ff4cf9acba8f3fdff (patch)
tree2e7f25a303958a32f8b54cd91c61878b9af4bc8d /lib/zstd/common/compiler.h
parentgpio: max730x: Make __max730x_remove() return void (diff)
downloadkernel-f4a20dfac88c06c9b529a41ff4cf9acba8f3fdff.tar.gz
kernel-f4a20dfac88c06c9b529a41ff4cf9acba8f3fdff.zip
gpio: mc33880: Drop if with an always false condition
An spi remove callback is only called for devices that probed successfully. In this case this implies that mc33880_probe() set a non-NULL driver data. So the check for mc being NULL is never true and the check can be dropped. Also the return value ofspi remove callbacks is ignored anyway. Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'lib/zstd/common/compiler.h')
0 files changed, 0 insertions, 0 deletions