mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
net: return operator cleanup
Change "return (EXPR);" to "return EXPR;" return is not a function, parentheses are not required. Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
6a08d194ee
commit
a02cec2155
84 changed files with 220 additions and 222 deletions
|
|
@ -392,7 +392,7 @@ static int econet_sendmsg(struct kiocb *iocb, struct socket *sock,
|
|||
dev_queue_xmit(skb);
|
||||
dev_put(dev);
|
||||
mutex_unlock(&econet_mutex);
|
||||
return(len);
|
||||
return len;
|
||||
|
||||
out_free:
|
||||
kfree_skb(skb);
|
||||
|
|
@ -637,7 +637,7 @@ static int econet_create(struct net *net, struct socket *sock, int protocol,
|
|||
eo->num = protocol;
|
||||
|
||||
econet_insert_socket(&econet_sklist, sk);
|
||||
return(0);
|
||||
return 0;
|
||||
out:
|
||||
return err;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue