diff --git a/net/batman-adv/hard-interface.c b/net/batman-adv/hard-interface.c index 04b227ec8052..e2c85bd8dbb5 100644 --- a/net/batman-adv/hard-interface.c +++ b/net/batman-adv/hard-interface.c @@ -1185,5 +1185,9 @@ int __init batadv_wifi_net_devices_init(void) */ void batadv_wifi_net_devices_deinit(void) { + /* just destroy table. entries should have been removed by + * unregister_netdevice_notifier() and the corresponding + * NETDEV_UNREGISTER events + */ rhashtable_destroy(&batadv_wifi_net_devices); }