diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-01-11 15:02:38 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2017-01-24 13:52:00 +0100 |
commit | 1e9bbb9bc2aa549d31fa0a0496ec33df0b3ae7a8 (patch) | |
tree | 079576501244483893ebf14042d88fbc1f556fed /drivers/net/ethernet | |
parent | 431af779256cd6cb8328ac23c5696bae63c33a51 (diff) |
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>
Diffstat (limited to 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions