public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH] batman-adv: remove useless assignment
@ 2012-11-01  0:08 Antonio Quartulli
  2012-11-01  4:33 ` Marek Lindner
  0 siblings, 1 reply; 2+ messages in thread
From: Antonio Quartulli @ 2012-11-01  0:08 UTC (permalink / raw)
  To: b.a.t.m.a.n

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

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-01  4:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-01  0:08 [B.A.T.M.A.N.] [PATCH] batman-adv: remove useless assignment Antonio Quartulli
2012-11-01  4:33 ` Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox