summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/routing.c
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2016-02-28 11:38:51 +0100
committerAntonio Quartulli <a@unstable.cc>2016-05-10 18:26:43 +0800
commit6535db56d5453555b7a40230024225d9ec700585 (patch)
treeb448b84b85177e7e3d8a2f2c91ac4890e1e50c02 /net/batman-adv/routing.c
parentc047c3b1af6214b447e353527e394fa3f3e86397 (diff)
downloadop-kernel-dev-6535db56d5453555b7a40230024225d9ec700585.zip
op-kernel-dev-6535db56d5453555b7a40230024225d9ec700585.tar.gz
batman-adv: Remove unused parameter recv_if of batadv_interface_rx
Signed-off-by: Sven Eckelmann <sven@narfation.org> Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch> Signed-off-by: Antonio Quartulli <a@unstable.cc>
Diffstat (limited to 'net/batman-adv/routing.c')
-rw-r--r--net/batman-adv/routing.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/batman-adv/routing.c b/net/batman-adv/routing.c
index b781bf7..2ecfca2 100644
--- a/net/batman-adv/routing.c
+++ b/net/batman-adv/routing.c
@@ -912,7 +912,7 @@ int batadv_recv_unicast_packet(struct sk_buff *skb,
hdr_size))
goto rx_success;
- batadv_interface_rx(recv_if->soft_iface, skb, recv_if, hdr_size,
+ batadv_interface_rx(recv_if->soft_iface, skb, hdr_size,
orig_node);
rx_success:
@@ -1122,8 +1122,7 @@ int batadv_recv_bcast_packet(struct sk_buff *skb,
goto rx_success;
/* broadcast for me */
- batadv_interface_rx(recv_if->soft_iface, skb, recv_if, hdr_size,
- orig_node);
+ batadv_interface_rx(recv_if->soft_iface, skb, hdr_size, orig_node);
rx_success:
ret = NET_RX_SUCCESS;
OpenPOWER on IntegriCloud