mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +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
|
@ -239,13 +239,13 @@ int tipc_link_is_up(struct link *l_ptr)
|
|||
{
|
||||
if (!l_ptr)
|
||||
return 0;
|
||||
return (link_working_working(l_ptr) || link_working_unknown(l_ptr));
|
||||
return link_working_working(l_ptr) || link_working_unknown(l_ptr);
|
||||
}
|
||||
|
||||
int tipc_link_is_active(struct link *l_ptr)
|
||||
{
|
||||
return ((l_ptr->owner->active_links[0] == l_ptr) ||
|
||||
(l_ptr->owner->active_links[1] == l_ptr));
|
||||
return (l_ptr->owner->active_links[0] == l_ptr) ||
|
||||
(l_ptr->owner->active_links[1] == l_ptr);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue