Skip to content

Commit

Permalink
batman-adv: fix gateway client style issues
Browse files Browse the repository at this point in the history
commit 0511575c4d03 ("batman-adv: remove obsolete deleted attribute for
gateway node") incorrectly added an empy line and forgot to remove an
include.

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
  • Loading branch information
Simon Wunderlich authored and Antonio Quartulli committed Aug 27, 2015
1 parent 3f32f8a commit 1e3b466
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/batman-adv/gateway_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <linux/in.h>
#include <linux/ip.h>
#include <linux/ipv6.h>
#include <linux/jiffies.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/netdevice.h>
Expand Down Expand Up @@ -565,7 +564,6 @@ void batadv_gw_node_free(struct batadv_priv *bat_priv)
spin_lock_bh(&bat_priv->gw.list_lock);
hlist_for_each_entry_safe(gw_node, node_tmp,
&bat_priv->gw.list, list) {

hlist_del_init_rcu(&gw_node->list);
batadv_gw_node_free_ref(gw_node);
}
Expand Down

0 comments on commit 1e3b466

Please sign in to comment.