Repository : ssh://git@open-mesh.org/batman-adv
On branch : master
commit 2b19a2b194851a198c7e628dac22e0de548f1380 Author: Sven Eckelmann sven@narfation.org Date: Tue Oct 25 07:54:45 2016 +0200
batman-adv: Remove unused variable initialization in batadv_get_real_netdev
Fixes: 8d5c6d68b625 ("batman-adv: retrieve B.A.T.M.A.N. V WiFi neighbor stats from real interface") Signed-off-by: Sven Eckelmann sven@narfation.org
2b19a2b194851a198c7e628dac22e0de548f1380 net/batman-adv/hard-interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/batman-adv/hard-interface.c b/net/batman-adv/hard-interface.c index 797d81f..672150b 100644 --- a/net/batman-adv/hard-interface.c +++ b/net/batman-adv/hard-interface.c @@ -255,7 +255,7 @@ out: */ struct net_device *batadv_get_real_netdev(struct net_device *net_device) { - struct net_device *real_netdev = NULL; + struct net_device *real_netdev;
rtnl_lock(); real_netdev = batadv_get_real_netdevice(net_device);