summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/routing.h
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/routing.h
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/routing.h')
-rw-r--r--net/batman-adv/routing.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/batman-adv/routing.h b/net/batman-adv/routing.h
index 5efceaf4b978..b5a064c88a4f 100644
--- a/net/batman-adv/routing.h
+++ b/net/batman-adv/routing.h
@@ -30,8 +30,7 @@ void receive_bat_packet(struct ethhdr *ethhdr,
void update_routes(struct bat_priv *bat_priv, struct orig_node *orig_node,
struct neigh_node *neigh_node, unsigned char *hna_buff,
int hna_buff_len);
-int route_unicast_packet(struct sk_buff *skb, struct hard_iface *recv_if,
- int hdr_size);
+int route_unicast_packet(struct sk_buff *skb, struct hard_iface *recv_if);
int recv_icmp_packet(struct sk_buff *skb, struct hard_iface *recv_if);
int recv_unicast_packet(struct sk_buff *skb, struct hard_iface *recv_if);
int recv_ucast_frag_packet(struct sk_buff *skb, struct hard_iface *recv_if);