Introduced by ("batman-adv: Fix broadcast duplist for fragmentation")

Signed-off-by: Antonio Quartulli <[email protected]>
---
 routing.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/routing.c b/routing.c
index 5da7724..d5a01d1 100644
--- a/routing.c
+++ b/routing.c
@@ -1185,8 +1185,6 @@ int batadv_recv_bcast_packet(struct sk_buff *skb,
        if (batadv_bla_check_bcast_duplist(bat_priv, skb))
                goto out;
 
-       bcast_packet = (struct batadv_bcast_packet *)skb->data;
-
        /* rebroadcast packet */
        batadv_add_bcast_packet_to_list(bat_priv, skb, 1);
 
-- 
1.7.12.4

Reply via email to