Commit 93f509a8 authored by Gulsah Kose's avatar Gulsah Kose Committed by Greg Kroah-Hartman

drivers: staging: gdm72xx: Removed unnecessary else expression.

This patch fixes "else is not generally useful after a break or return"
checkpatch.pl warning in netlink_k.c
Signed-off-by: default avatarGulsah Kose <gulsah.1004@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d1fed028
...@@ -147,12 +147,11 @@ int netlink_send(struct sock *sock, int group, u16 type, void *msg, int len) ...@@ -147,12 +147,11 @@ int netlink_send(struct sock *sock, int group, u16 type, void *msg, int len)
if (!ret) { if (!ret) {
return len; return len;
} else { }
if (ret != -ESRCH) { if (ret != -ESRCH) {
pr_err("netlink_broadcast g=%d, t=%d, l=%d, r=%d\n", pr_err("netlink_broadcast g=%d, t=%d, l=%d, r=%d\n",
group, type, len, ret); group, type, len, ret);
} }
ret = 0; ret = 0;
}
return ret; return ret;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment