Skip to content
Commit 3f150356 authored by Marc Kleine-Budde's avatar Marc Kleine-Budde
Browse files

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: default avatarOliver Hartkopp <socketcan@hartkopp.net>
Suggested-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent e2586a57
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment