Commit 2e98f76c8fe3247e2118b948799e0ea491f35b9e

Authored by Gulsah Kose
Committed by Greg Kroah-Hartman
1 parent 93f509a881

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>

Showing 1 changed file with 1 additions and 2 deletions Side-by-side Diff

drivers/staging/gdm72xx/netlink_k.c
... ... @@ -145,9 +145,8 @@
145 145  
146 146 ret = netlink_broadcast(sock, skb, 0, group+1, GFP_ATOMIC);
147 147  
148   - if (!ret) {
  148 + if (!ret)
149 149 return len;
150   - }
151 150 if (ret != -ESRCH) {
152 151 pr_err("netlink_broadcast g=%d, t=%d, l=%d, r=%d\n",
153 152 group, type, len, ret);