diff options
author | Sven Eckelmann <sven@narfation.org> | 2020-07-07 22:49:50 +0200 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2020-08-18 19:39:53 +0200 |
commit | c3b92dd49094397e7d3893a666adf2103958399f (patch) | |
tree | 25d81946df9aabb60ee6e827c6b4590703c6dec0 /net/batman-adv/types.h | |
parent | 426988ee84c1d03cd5e158b4a360e01459709e95 (diff) |
batman-adv: Drop unused function batadv_hardif_remove_interfaces()
The function batadv_hardif_remove_interfaces was meant to remove all
interfaces which are currently in the list of known (compatible) hardifs
during module unload. But the function unregister_netdevice_notifier is
called in batadv_exit before batadv_hardif_remove_interfaces. This will
trigger NETDEV_UNREGISTER events for all available interfaces and in this
process remove all interfaces from batadv_hardif_list. And
batadv_hardif_remove_interfaces only operated on this (empty) list.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'net/batman-adv/types.h')
0 files changed, 0 insertions, 0 deletions