]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
vxlan: Fix trailing semicolon
authorLuis de Bethencourt <luisbg@kernel.org>
Tue, 16 Jan 2018 15:03:32 +0000 (15:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Jan 2018 21:07:24 +0000 (16:07 -0500)
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: 5f35227ea34b ("net: Generalize ndo_gso_check to ndo_features_check")
Signed-off-by: Luis de Bethencourt <luisbg@kernel.org>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/vxlan.h

index f96391e84a8a3161df98a964692e7ce445050944..ad73d8b3fcc25856f9812e10a29abd074167758b 100644 (file)
@@ -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) &&