summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/soft-interface.c
diff options
context:
space:
mode:
authorLinus Lüssing <linus.luessing@ascom.ch>2011-03-02 18:39:31 +0100
committerMarek Lindner <lindner_marek@yahoo.de>2011-03-05 12:52:08 +0100
commit7cefb149a6b0e4f7c5adfa27dcf285b729063848 (patch)
tree3b4d041fd21905286602c3319d94f591a344b8f3 /net/batman-adv/soft-interface.c
parentbatman-adv: rename batman_if struct to hard_iface (diff)
downloadlinux-7cefb149a6b0e4f7c5adfa27dcf285b729063848.tar.xz
linux-7cefb149a6b0e4f7c5adfa27dcf285b729063848.zip
batman-adv: Remove unused hdr_size variable in route_unicast_packet()
Signed-off-by: Linus Lüssing <linus.luessing@ascom.ch> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/soft-interface.c')
-rw-r--r--net/batman-adv/soft-interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/soft-interface.c b/net/batman-adv/soft-interface.c
index 95d1c3f86a66..6b514ecee5a2 100644
--- a/net/batman-adv/soft-interface.c
+++ b/net/batman-adv/soft-interface.c
@@ -462,7 +462,7 @@ void interface_rx(struct net_device *soft_iface,
memcpy(unicast_packet->dest,
bat_priv->softif_neigh->addr, ETH_ALEN);
- ret = route_unicast_packet(skb, recv_if, hdr_size);
+ ret = route_unicast_packet(skb, recv_if);
if (ret == NET_RX_DROP)
goto dropped;