Skip to content

Commit 0f20f5a

Browse files
ralfbaechledavem330
authored andcommitted
NET: NETROM: Fix formatting.
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>
1 parent 10cae1c commit 0f20f5a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎net/netrom/af_netrom.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1244,7 +1244,8 @@ static int nr_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
12441244
case SIOCADDRT:
12451245
case SIOCDELRT:
12461246
case SIOCNRDECOBS:
1247-
if (!capable(CAP_NET_ADMIN)) return -EPERM;
1247+
if (!capable(CAP_NET_ADMIN))
1248+
return -EPERM;
12481249
return nr_rt_ioctl(cmd, argp);
12491250

12501251
default:

0 commit comments

Comments
 (0)