mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00: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 <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6a08d194ee
commit
a02cec2155
84 changed files with 220 additions and 222 deletions
|
@ -799,7 +799,7 @@ static void sctp_inet_skb_msgname(struct sk_buff *skb, char *msgname, int *len)
|
|||
static int sctp_inet_af_supported(sa_family_t family, struct sctp_sock *sp)
|
||||
{
|
||||
/* PF_INET only supports AF_INET addresses. */
|
||||
return (AF_INET == family);
|
||||
return AF_INET == family;
|
||||
}
|
||||
|
||||
/* Address matching with wildcards allowed. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue