datapath: Unconditionally call kfree_skb()
[openvswitch] / datapath / brcompat.c
index b68720bd811f3e031aab7237faeb83cd59bcc06b..44b2c9923e4f8dd1a313a07060abd1ed4f5bc751 100644 (file)
@@ -425,8 +425,7 @@ static int brc_genl_dp_result(struct sk_buff *skb, struct genl_info *info)
        if (brc_seq == info->snd_seq) {
                brc_seq++;
 
-               if (brc_reply)
-                       kfree_skb(brc_reply);
+               kfree_skb(brc_reply);
                brc_reply = skb;
 
                complete(&brc_done);