summaryrefslogtreecommitdiffstats
path: root/include/net/vxlan.h
diff options
context:
space:
mode:
authorLuis de Bethencourt2018-01-16 16:03:32 +0100
committerDavid S. Miller2018-01-17 22:07:24 +0100
commit5ef7e0ba1039d65c4eefde92056769548b214273 (patch)
tree0296b6c9996f7c78d16c95c0882257f64647ceb6 /include/net/vxlan.h
parentcxgb4: restructure VF mgmt code (diff)
downloadkernel-qcow2-linux-5ef7e0ba1039d65c4eefde92056769548b214273.tar.gz
kernel-qcow2-linux-5ef7e0ba1039d65c4eefde92056769548b214273.tar.xz
kernel-qcow2-linux-5ef7e0ba1039d65c4eefde92056769548b214273.zip
vxlan: Fix trailing semicolon
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>
Diffstat (limited to 'include/net/vxlan.h')
-rw-r--r--include/net/vxlan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/vxlan.h b/include/net/vxlan.h
index f96391e84a8a..ad73d8b3fcc2 100644
--- a/include/net/vxlan.h
+++ b/include/net/vxlan.h
@@ -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) &&