diff options
author | Linus Lüssing <linus.luessing@ascom.ch> | 2011-03-02 12:39:31 -0500 |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2011-03-05 06:52:08 -0500 |
commit | 7cefb149a6b0e4f7c5adfa27dcf285b729063848 (patch) | |
tree | 3b4d041fd21905286602c3319d94f591a344b8f3 /net/batman-adv/soft-interface.c | |
parent | e6c10f433af9c98994c94a10ae862c152fcfb2a9 (diff) |
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.c | 2 |
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, | |||
462 | 462 | ||
463 | memcpy(unicast_packet->dest, | 463 | memcpy(unicast_packet->dest, |
464 | bat_priv->softif_neigh->addr, ETH_ALEN); | 464 | bat_priv->softif_neigh->addr, ETH_ALEN); |
465 | ret = route_unicast_packet(skb, recv_if, hdr_size); | 465 | ret = route_unicast_packet(skb, recv_if); |
466 | if (ret == NET_RX_DROP) | 466 | if (ret == NET_RX_DROP) |
467 | goto dropped; | 467 | goto dropped; |
468 | 468 | ||