Skip to content

Commit 463561e

Browse files
Colin Ian Kingdavem330
authored andcommitted
neighbour: remove stray semicolon
Currently the stray semicolon means that the final term in the addition is being missed. Fix this by removing it. Cleans up clang warning: net/core/neighbour.c:2821:9: warning: expression result unused [-Wunused-value] Fixes: 82cbb5c ("neighbour: register rtnl doit handler") Signed-off-by: Colin Ian King <[email protected]> Acked-By: Roopa Prabhu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 962ad71 commit 463561e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/core/neighbour.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2811,7 +2811,7 @@ static int neigh_get_reply(struct net *net, struct neighbour *neigh,
28112811
static inline size_t pneigh_nlmsg_size(void)
28122812
{
28132813
return NLMSG_ALIGN(sizeof(struct ndmsg))
2814-
+ nla_total_size(MAX_ADDR_LEN); /* NDA_DST */
2814+
+ nla_total_size(MAX_ADDR_LEN) /* NDA_DST */
28152815
+ nla_total_size(1); /* NDA_PROTOCOL */
28162816
}
28172817

0 commit comments

Comments
 (0)