ipc/mqueue.c: delete an unnecessary check before the macro call dev_kfree_skb()
[sfrench/cifs-2.6.git] / ipc / mqueue.c
index 7c15729d9d25a36711ae2d70db206f5f633e64a1..b02eb842b42e8e9579c010dcf06bc9f7c1a84044 100644 (file)
@@ -1333,7 +1333,7 @@ out_fput:
 out:
        if (sock)
                netlink_detachskb(sock, nc);
-       else if (nc)
+       else
                dev_kfree_skb(nc);
 
        return ret;