summaryrefslogtreecommitdiff
path: root/drivers/staging/gdm72xx
diff options
context:
space:
mode:
authorGulsah Kose <gulsah.1004@gmail.com>2014-09-27 00:00:14 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-28 23:27:35 -0400
commit2e98f76c8fe3247e2118b948799e0ea491f35b9e (patch)
treed8f205a105e3e09c0a7e63076d41fedbbbf30f1b /drivers/staging/gdm72xx
parent93f509a88107b2ee551ae63e710f22378815eb76 (diff)
drivers: staging: gdm72xx: Removed unnecessary braces.
This patch fixes "braces {} are not necessary for single statement blocks" checkpatch.pl warning in netlink_k.c Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gdm72xx')
-rw-r--r--drivers/staging/gdm72xx/netlink_k.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/gdm72xx/netlink_k.c b/drivers/staging/gdm72xx/netlink_k.c
index 643eaab9664f..9d78bfcdb2c3 100644
--- a/drivers/staging/gdm72xx/netlink_k.c
+++ b/drivers/staging/gdm72xx/netlink_k.c
@@ -145,9 +145,8 @@ int netlink_send(struct sock *sock, int group, u16 type, void *msg, int len)
ret = netlink_broadcast(sock, skb, 0, group+1, GFP_ATOMIC);
- if (!ret) {
+ if (!ret)
return len;
- }
if (ret != -ESRCH) {
pr_err("netlink_broadcast g=%d, t=%d, l=%d, r=%d\n",
group, type, len, ret);