From: Ralf Baechle Date: Thu, 24 Nov 2011 23:54:10 +0000 (+0000) Subject: NET: NETROM: Fix formatting. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0f20f5a7de1ee48ced284e960828017cc2f5d52b;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git NET: NETROM: Fix formatting. The Linux coding style wants the return statement on its own line. Signed-off-by: Ralf Baechle Signed-off-by: David S. Miller --- diff --git a/net/netrom/af_netrom.c b/net/netrom/af_netrom.c index 732152f718e0..c329b474eace 100644 --- a/net/netrom/af_netrom.c +++ b/net/netrom/af_netrom.c @@ -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: