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:

committed by
David S. Miller

parent
6a08d194ee
commit
a02cec2155
@@ -114,7 +114,7 @@ static int rose_send_frame(struct sk_buff *skb, struct rose_neigh *neigh)
|
||||
if (ax25s)
|
||||
ax25_cb_put(ax25s);
|
||||
|
||||
return (neigh->ax25 != NULL);
|
||||
return neigh->ax25 != NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -137,7 +137,7 @@ static int rose_link_up(struct rose_neigh *neigh)
|
||||
if (ax25s)
|
||||
ax25_cb_put(ax25s);
|
||||
|
||||
return (neigh->ax25 != NULL);
|
||||
return neigh->ax25 != NULL;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user