stating: gdm724x: remove explicit NULL comparison
[firefly-linux-kernel-4.4.55.git] / drivers / staging / gdm724x / netlink_k.c
index 59a18304ef4a592830b3800ffcd4ecffb0903951..749dd60ab34f7e1592977b4e1e5c4030e9dc2bad 100644 (file)
@@ -122,7 +122,7 @@ int netlink_send(struct sock *sock, int group, u16 type, void *msg, int len)
        if (group > ND_MAX_GROUP)
                return -EINVAL;
 
-       if (!netlink_has_listeners(sock, group+1))
+       if (!netlink_has_listeners(sock, group + 1))
                return -ESRCH;
 
        skb = alloc_skb(NLMSG_SPACE(len), GFP_ATOMIC);