diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-11-01 14:56:15 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2017-12-01 09:14:22 +0100 |
commit | 48794a82c016e7c5a58b5e6f30ad6fea431a7940 (patch) | |
tree | 633f571c7f3265d1c676864c36d93ffffa543414 /drivers/net/can/flexcan.c | |
parent | can: peak_usb: use ktime_t consistently (diff) | |
download | linux-dev-48794a82c016e7c5a58b5e6f30ad6fea431a7940.tar.xz linux-dev-48794a82c016e7c5a58b5e6f30ad6fea431a7940.zip |
can: vxcan: Use common error handling code in vxcan_newlink()
Add a jump target so that a bit of exception handling can be better reused
at the end of this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/flexcan.c')
0 files changed, 0 insertions, 0 deletions