Merge tag 'wireless-drivers-next-for-davem-2016-01-09' of git://git.kernel.org/pub...
[deliverable/linux.git] / net / batman-adv / send.c
index f664324805eba5d93cc02b4436429dbf44b7b03d..782fa33ec296a85a2869e40fec9dabc6c89da923 100644 (file)
@@ -407,8 +407,7 @@ void batadv_schedule_bat_ogm(struct batadv_hard_iface *hard_iface)
 
 static void batadv_forw_packet_free(struct batadv_forw_packet *forw_packet)
 {
-       if (forw_packet->skb)
-               kfree_skb(forw_packet->skb);
+       kfree_skb(forw_packet->skb);
        if (forw_packet->if_incoming)
                batadv_hardif_free_ref(forw_packet->if_incoming);
        if (forw_packet->if_outgoing)
This page took 0.024115 seconds and 5 git commands to generate.