diff options
Diffstat (limited to 'net/batman-adv/hard-interface.c')
-rw-r--r-- | net/batman-adv/hard-interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/hard-interface.c b/net/batman-adv/hard-interface.c index 915e12b820b9..e626e75a7e65 100644 --- a/net/batman-adv/hard-interface.c +++ b/net/batman-adv/hard-interface.c | |||
@@ -523,7 +523,7 @@ void hardif_remove_interfaces(void) | |||
523 | static int hard_if_event(struct notifier_block *this, | 523 | static int hard_if_event(struct notifier_block *this, |
524 | unsigned long event, void *ptr) | 524 | unsigned long event, void *ptr) |
525 | { | 525 | { |
526 | struct net_device *net_dev = (struct net_device *)ptr; | 526 | struct net_device *net_dev = ptr; |
527 | struct hard_iface *hard_iface = hardif_get_by_netdev(net_dev); | 527 | struct hard_iface *hard_iface = hardif_get_by_netdev(net_dev); |
528 | struct hard_iface *primary_if = NULL; | 528 | struct hard_iface *primary_if = NULL; |
529 | struct bat_priv *bat_priv; | 529 | struct bat_priv *bat_priv; |