NET: NETROM: Fix formatting.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 24 Nov 2011 23:54:10 +0000 (23:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Nov 2011 05:23:13 +0000 (00:23 -0500)
The Linux coding style wants the return statement on its own line.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netrom/af_netrom.c

index 732152f..c329b47 100644 (file)
@@ -1244,7 +1244,8 @@ static int nr_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
        case SIOCADDRT:
        case SIOCDELRT:
        case SIOCNRDECOBS:
-               if (!capable(CAP_NET_ADMIN)) return -EPERM;
+               if (!capable(CAP_NET_ADMIN))
+                       return -EPERM;
                return nr_rt_ioctl(cmd, argp);
 
        default: