You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Marek Lindner
parent
e6c10f433a
commit
7cefb149a6
@@ -1263,8 +1263,7 @@ static int check_unicast_packet(struct sk_buff *skb, int hdr_size)
|
||||
return 0;
|
||||
}
|
||||
|
||||
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)
|
||||
{
|
||||
struct bat_priv *bat_priv = netdev_priv(recv_if->soft_iface);
|
||||
struct orig_node *orig_node = NULL;
|
||||
@@ -1365,7 +1364,7 @@ int recv_unicast_packet(struct sk_buff *skb, struct hard_iface *recv_if)
|
||||
return NET_RX_SUCCESS;
|
||||
}
|
||||
|
||||
return route_unicast_packet(skb, recv_if, hdr_size);
|
||||
return route_unicast_packet(skb, recv_if);
|
||||
}
|
||||
|
||||
int recv_ucast_frag_packet(struct sk_buff *skb, struct hard_iface *recv_if)
|
||||
@@ -1398,7 +1397,7 @@ int recv_ucast_frag_packet(struct sk_buff *skb, struct hard_iface *recv_if)
|
||||
return NET_RX_SUCCESS;
|
||||
}
|
||||
|
||||
return route_unicast_packet(skb, recv_if, hdr_size);
|
||||
return route_unicast_packet(skb, recv_if);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user