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
|
@ -387,6 +387,6 @@ ssize_t sysfs_format_mac(char *buf, const unsigned char *addr, int len)
|
|||
|
||||
l = _format_mac_addr(buf, PAGE_SIZE, addr, len);
|
||||
l += scnprintf(buf + l, PAGE_SIZE - l, "\n");
|
||||
return ((ssize_t) l);
|
||||
return (ssize_t)l;
|
||||
}
|
||||
EXPORT_SYMBOL(sysfs_format_mac);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue