Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp291147imb; Fri, 1 Mar 2019 00:19:16 -0800 (PST) X-Google-Smtp-Source: APXvYqxwd89Tn1pyl6dGKvCPebjf0mZK7qsmN1nBwd006aRuf4jEZU5+RgzbYN4w+haEV3RscQIk X-Received: by 2002:a17:902:42e:: with SMTP id 43mr4287441ple.88.1551428356162; Fri, 01 Mar 2019 00:19:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551428356; cv=none; d=google.com; s=arc-20160816; b=vd3VUSDkDD9bFJUSI/T6EhUSUDb1HsPvyVe2U7ESXOtNgjwCu4XEcj56b6TMTtFtM5 JgJJ4kbi47Vdnj0JygQRhFrkBKcLhvUsSNJ+6xP9cOZimw+gPqsLziIb+mWUNC732753 vSNopheAi25OhnpAIfRkutsnJ3WKSZeGOlH3kT6VBKG2GOMlCzwx37vLpi8y3rJGHHEk PNLWcKz9lEdM2OYc9rsELcN47+mjVAKb8x5YecYWd8El1FaQrHLQPoSn6MS5SMkQeDob gzD0RL7cf7Qedj320Ur4x5BHIeT1FfTpT3vIvY0dyNH24P3f6CxIy5wTZd2anm8Yklyf Q2Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=3V5VJYx4CZAJcXFurlN8zyMj48lo6tRjzgYajGa0Fww=; b=DaauECuu2WdURJI7OQ/n63nW50eH0We4FQ7eihru6z8HXDxBPkmMisEaz+vBnfqgH+ NZyMQMsNUf7QJZntrGCHMWfpFBzVqrgzUWfDeOJkRchfrF51L2YfsX462ald1sElTUY6 zCf5D7PvIyaLreVhL+nu5rG13N6niSt5XccailDbFwoEFZ2otjkq5yWrnkZJsVEFIc8E ENfCWwWc+J271V7t0tLXYGit1qBZIBuOsWPeQtmOmmQijcQiERJzK3UEBBQo9+EfdGVj sY1JvHBnuVucDhBhRAIy6UrRFCcfaEotjQRVoqtZ+mOAS9oPOGliNuwklWA89wVQ+Zkp L3ug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e9si19575486pgk.173.2019.03.01.00.19.01; Fri, 01 Mar 2019 00:19:16 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733045AbfCAIJR (ORCPT + 99 others); Fri, 1 Mar 2019 03:09:17 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:4753 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726195AbfCAIJQ (ORCPT ); Fri, 1 Mar 2019 03:09:16 -0500 Received: from DGGEMS404-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id B0195824C375D8B1B3FD; Fri, 1 Mar 2019 16:09:13 +0800 (CST) Received: from localhost (10.177.31.96) by DGGEMS404-HUB.china.huawei.com (10.3.19.204) with Microsoft SMTP Server id 14.3.408.0; Fri, 1 Mar 2019 16:09:07 +0800 From: Yue Haibing To: , , , , , , <_govind@gmx.com> CC: , , , , YueHaibing Subject: [PATCH net-next] drivers: net: Remove unnecessary semicolon Date: Fri, 1 Mar 2019 16:09:00 +0800 Message-ID: <20190301080900.6656-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.177.31.96] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: YueHaibing drivers/net/dsa/mt7530.c:649:3-4: Unneeded semicolon drivers/net/ethernet/cisco/enic/enic_clsf.c:35:2-3: Unneeded semicolon drivers/net/ethernet/faraday/ftgmac100.c:1640:2-3: Unneeded semicolon drivers/net/ethernet/mediatek/mtk_eth_soc.c:229:2-3: Unneeded semicolon drivers/net/usb/sr9700.c:437:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Signed-off-by: YueHaibing --- drivers/net/dsa/mt7530.c | 2 +- drivers/net/ethernet/cisco/enic/enic_clsf.c | 3 ++- drivers/net/ethernet/faraday/ftgmac100.c | 2 +- drivers/net/ethernet/mediatek/mtk_eth_soc.c | 2 +- drivers/net/usb/sr9700.c | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/net/dsa/mt7530.c b/drivers/net/dsa/mt7530.c index 0390c5e..7357b4f 100644 --- a/drivers/net/dsa/mt7530.c +++ b/drivers/net/dsa/mt7530.c @@ -646,7 +646,7 @@ static void mt7530_adjust_link(struct dsa_switch *ds, int port, case SPEED_100: mcr |= PMCR_FORCE_SPEED_100; break; - }; + } if (phydev->link) mcr |= PMCR_FORCE_LNK; diff --git a/drivers/net/ethernet/cisco/enic/enic_clsf.c b/drivers/net/ethernet/cisco/enic/enic_clsf.c index 99038df..9900993 100644 --- a/drivers/net/ethernet/cisco/enic/enic_clsf.c +++ b/drivers/net/ethernet/cisco/enic/enic_clsf.c @@ -32,7 +32,8 @@ int enic_addfltr_5t(struct enic *enic, struct flow_keys *keys, u16 rq) break; default: return -EPROTONOSUPPORT; - }; + } + data.type = FILTER_IPV4_5TUPLE; data.u.ipv4.src_addr = ntohl(keys->addrs.v4addrs.src); data.u.ipv4.dst_addr = ntohl(keys->addrs.v4addrs.dst); diff --git a/drivers/net/ethernet/faraday/ftgmac100.c b/drivers/net/ethernet/faraday/ftgmac100.c index 3e5e971..b17b79e 100644 --- a/drivers/net/ethernet/faraday/ftgmac100.c +++ b/drivers/net/ethernet/faraday/ftgmac100.c @@ -1637,7 +1637,7 @@ static int ftgmac100_setup_mdio(struct net_device *netdev) reg = ioread32(priv->base + FTGMAC100_OFFSET_REVR); reg &= ~FTGMAC100_REVR_NEW_MDIO_INTERFACE; iowrite32(reg, priv->base + FTGMAC100_OFFSET_REVR); - }; + } /* Get PHY mode from device-tree */ if (np) { diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c index 94d4663..549d364 100644 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c @@ -226,7 +226,7 @@ static void mtk_phy_link_adjust(struct net_device *dev) case SPEED_100: mcr |= MAC_MCR_SPEED_100; break; - }; + } if (MTK_HAS_CAPS(mac->hw->soc->caps, MTK_GMAC1_TRGMII) && !mac->id && !mac->trgmii) diff --git a/drivers/net/usb/sr9700.c b/drivers/net/usb/sr9700.c index 6ac232e..e04c8054 100644 --- a/drivers/net/usb/sr9700.c +++ b/drivers/net/usb/sr9700.c @@ -434,7 +434,7 @@ static int sr9700_rx_fixup(struct usbnet *dev, struct sk_buff *skb) usbnet_skb_return(dev, sr_skb); skb_pull(skb, len + SR_RX_OVERHEAD); - }; + } return 0; } -- 2.7.0