diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-10-20 22:36:52 -0500 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-11-11 21:57:28 +0100 |
commit | 371fd7baa81d2adb05c390f8f8a42a4f02173cbd (patch) | |
tree | 85ea1d344a1285fa3c50183b547611b76d4941a9 /include/linux/can/platform/mcp251x.h | |
parent | Support LAN743x PTP periodic output on any GPIO (diff) | |
download | linux-dev-371fd7baa81d2adb05c390f8f8a42a4f02173cbd.tar.xz linux-dev-371fd7baa81d2adb05c390f8f8a42a4f02173cbd.zip |
can: dev: can_restart(): remove unused code
Value assigned to variable err is overwritten at line
562: err = priv->do_set_mode(dev, CAN_MODE_START); before
it can be used.
Also, notice that this code has been there since 2014.
Addresses-Coverity-ID: 1227031
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include/linux/can/platform/mcp251x.h')
0 files changed, 0 insertions, 0 deletions