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
@@ -513,10 +513,9 @@ static int ip6addrlbl_dump(struct sk_buff *skb, struct netlink_callback *cb)
|
||||
|
||||
static inline int ip6addrlbl_msgsize(void)
|
||||
{
|
||||
return (NLMSG_ALIGN(sizeof(struct ifaddrlblmsg))
|
||||
return NLMSG_ALIGN(sizeof(struct ifaddrlblmsg))
|
||||
+ nla_total_size(16) /* IFAL_ADDRESS */
|
||||
+ nla_total_size(4) /* IFAL_LABEL */
|
||||
);
|
||||
+ nla_total_size(4); /* IFAL_LABEL */
|
||||
}
|
||||
|
||||
static int ip6addrlbl_get(struct sk_buff *in_skb, struct nlmsghdr* nlh,
|
||||
|
Reference in New Issue
Block a user