Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751592AbeAPPDt (ORCPT + 1 other); Tue, 16 Jan 2018 10:03:49 -0500 Received: from smtp-fw-4101.amazon.com ([72.21.198.25]:15895 "EHLO smtp-fw-4101.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751214AbeAPPDr (ORCPT ); Tue, 16 Jan 2018 10:03:47 -0500 X-IronPort-AV: E=Sophos;i="5.46,368,1511827200"; d="scan'208";a="703604596" From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: Joe Perches , netdev@vger.kernel.org, "David S . Miller" , Luis de Bethencourt Subject: [PATCH] vxlan: Fix trailing semicolon Date: Tue, 16 Jan 2018 15:03:32 +0000 Message-Id: <20180116150332.11242-1-luisbg@kernel.org> X-Mailer: git-send-email 2.15.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 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. Signed-off-by: Luis de Bethencourt --- Hi, An other trailing semicolon to remove. Best regards Luis [0] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115410.html [1] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115390.html include/net/vxlan.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) && -- 2.15.1