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
@@ -63,7 +63,7 @@ static int media_name_valid(const char *name)
|
||||
len = strlen(name);
|
||||
if ((len + 1) > TIPC_MAX_MEDIA_NAME)
|
||||
return 0;
|
||||
return (strspn(name, tipc_alphabet) == len);
|
||||
return strspn(name, tipc_alphabet) == len;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user