ipc/mqueue.c: delete an unnecessary check before the macro call dev_kfree_skb()
[platform/kernel/linux-rpi.git] / ipc / mqueue.c
index 7c15729..b02eb84 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;