linux_dsm_epyc7002/drivers/net/can/softing
Colin Ian King 1e9bbb9bc2 can: softing_cs: ret is never non-zero, so remove non-zero check and -ENODEV return
The error return ret is never zero in the error handling path in
softingcs_probe, so the check for non-zero and returning -ENODEV
is logically dead code and hence redundant.  Remove it and just
return ret.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2017-01-24 13:52:00 +01:00
..
Kconfig can: Kconfig: convert 'depends on CAN_DEV' into 'if CAN_DEV...endif' block 2013-01-26 16:58:58 +01:00
Makefile net: can: use kbuild magic to inherit debug settings 2014-08-18 01:03:38 +02:00
softing_cs.c can: softing_cs: ret is never non-zero, so remove non-zero check and -ENODEV return 2017-01-24 13:52:00 +01:00
softing_fw.c ktime: Cleanup ktime_set() usage 2016-12-25 17:21:22 +01:00
softing_main.c ktime: Cleanup ktime_set() usage 2016-12-25 17:21:22 +01:00
softing_platform.h
softing.h can: Remove extern from function prototypes 2013-09-24 10:09:18 -04:00