X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=net%2Fbatman-adv%2Funicast.c;h=50e079f00be62aeb7530a88d70edc42215dff743;hb=92ddcf4a011a95dac98d3bbb0211a2fa42f13dc1;hp=10aff49fcf25adb106cefb020309e456d8f04a2f;hpb=121027a7a64a12e9e5c0289f12473ff11678a812;p=~andy%2Flinux diff --git a/net/batman-adv/unicast.c b/net/batman-adv/unicast.c index 10aff49fcf2..50e079f00be 100644 --- a/net/batman-adv/unicast.c +++ b/net/batman-adv/unicast.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2010-2012 B.A.T.M.A.N. contributors: +/* Copyright (C) 2010-2013 B.A.T.M.A.N. contributors: * * Andreas Langer * @@ -133,7 +133,6 @@ batadv_frag_search_packet(struct list_head *head, is_head = !!(up->flags & BATADV_UNI_FRAG_HEAD); list_for_each_entry(tfp, head, list) { - if (!tfp->skb) continue; @@ -162,7 +161,6 @@ void batadv_frag_list_free(struct list_head *head) struct batadv_frag_packet_list_entry *pf, *tmp_pf; if (!list_empty(head)) { - list_for_each_entry_safe(pf, tmp_pf, head, list) { kfree_skb(pf->skb); list_del(&pf->list);