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>
This commit is contained in:
parent
10cae1c8df
commit
0f20f5a7de
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user