diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2018-10-08 10:02:37 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-09-04 14:29:14 +0300 |
commit | 3f15035606934a499975e4a5879a9499f072c179 (patch) | |
tree | e75641d489371a55ffe3fc592e0d9672ab52275e /drivers/net/can/vcan.c | |
parent | e2586a5796d6c6a812b401c7f1da2519ce3cf821 (diff) | |
download | linux-3f15035606934a499975e4a5879a9499f072c179.tar.xz |
can: af_can: can_pernet_exit(): no need to iterate over and cleanup registered CAN devices
The networking core takes care and unregisters every network device in
a namespace before calling the can_pernet_exit() hook. This patch
removes the unneeded cleanup.
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Suggested-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/vcan.c')
0 files changed, 0 insertions, 0 deletions