Skip to content

Commit

Permalink
vxlan: Fix trailing semicolon
Browse files Browse the repository at this point in the history
The trailing semicolon is an empty statement that does no operation.
It is completely stripped out by the compiler. Removing it since it doesn't do
anything.

Fixes: 5f35227 ("net: Generalize ndo_gso_check to ndo_features_check")
Signed-off-by: Luis de Bethencourt <[email protected]>
Acked-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
luisbg authored and davem330 committed Jan 17, 2018
1 parent baf5086 commit 5ef7e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/vxlan.h
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ static inline netdev_features_t vxlan_features_check(struct sk_buff *skb,
l4_hdr = ipv6_hdr(skb)->nexthdr;
break;
default:
return features;;
return features;
}

if ((l4_hdr == IPPROTO_UDP) &&
Expand Down

0 comments on commit 5ef7e0b

Please sign in to comment.