batman-adv: rename batadv_softif_destroy to reflect sysfs use case
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> CC: Sven Eckelmann <sven@narfation.org> Acked-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
This commit is contained in:
committed by
Antonio Quartulli
parent
a15fd3612d
commit
e07932ae6f
@@ -581,7 +581,11 @@ struct net_device *batadv_softif_create(const char *name)
|
||||
return soft_iface;
|
||||
}
|
||||
|
||||
void batadv_softif_destroy(struct net_device *soft_iface)
|
||||
/**
|
||||
* batadv_softif_destroy_sysfs - deletion of batadv_soft_interface via sysfs
|
||||
* @soft_iface: the to-be-removed batman-adv interface
|
||||
*/
|
||||
void batadv_softif_destroy_sysfs(struct net_device *soft_iface)
|
||||
{
|
||||
struct batadv_priv *bat_priv = netdev_priv(soft_iface);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user