Received: by 2002:a25:d783:0:0:0:0:0 with SMTP id o125csp316260ybg; Wed, 18 Mar 2020 23:48:15 -0700 (PDT) X-Google-Smtp-Source: ADFU+vu4i4o1IpXHk4spSwi1fT0KkWFtKaiIN2CbIxX6R88jJTiWV9CFbmzUdKjs9JJlTguLDfe5 X-Received: by 2002:aca:dec6:: with SMTP id v189mr1274623oig.156.1584600495078; Wed, 18 Mar 2020 23:48:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584600495; cv=none; d=google.com; s=arc-20160816; b=N058pqnkGyj3ZyBqL1RCLrG2M1jbld+VzrMgFjRfEPxgs89Fpr2ywcWE9FFYXgdKMZ dk41dTEFmxK4+4C5lF1a/C4m5RPt99UcqpmKZebKkJ7P8TpZPW2pUG6w/YoYUaWChcIN P+ovXYhmyMwM90AyocRL0mIJ1iA0G1nrzLxOdMRjcqzQ0U/og+PZrQd7sW67HWpa2WRE gpd0zSR8bMwzgWRLsG+Ey9HHnqH7FnxUxH/LM64zEyiM3T0vCVEBkTagdufwVoSuBPEd hkMjgBvESHXKBU4NJ2RiqQeP6frnYMooVQ4xa3cxujVMg+9rvyGL37no1wrAuq0H6ba5 F/dQ== 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=3u/UByOhrfKwFIlX+1oU7LF+DC87U65JuoJeTWjZgJs=; b=qbsC412PvFOd1Zj7xIToeRE9QE3GgaiglU4oNqnOd6yJzucA7RI1Ra+tFe9do9QyB0 osj57sd0uO7HEmpyfuOxz3XLcLNixwY+ihUF2HHlwo7vI9JfTMRsUCzdyDyxh3IVAwSp xZbsjUuGjvwNsReewKUdXdlj5BddbGAQAcWZjQVUtsCy/5YDLE/1H8dlINiIUCu5/hxz 5woLKKONhkEerr4MLO5qKPLXWgA5oqB/8gDaH/2haXcF/d+nIR9rvAjpd0ZlAeqlXTYR KfN2C5HNOVwTWK8ZcCKqi322/OZGem2rY7D4m69GWDjt967E030f0QFnuNq7cxIZoiC/ fP0Q== 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 b9si1023484ots.148.2020.03.18.23.48.02; Wed, 18 Mar 2020 23:48:15 -0700 (PDT) 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 S1727045AbgCSGrb (ORCPT + 99 others); Thu, 19 Mar 2020 02:47:31 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:35730 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726063AbgCSGrb (ORCPT ); Thu, 19 Mar 2020 02:47:31 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id C2B2C19FDB0857EA0842; Thu, 19 Mar 2020 14:47:05 +0800 (CST) Received: from localhost (10.173.223.234) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.487.0; Thu, 19 Mar 2020 14:46:58 +0800 From: YueHaibing To: , CC: , , , YueHaibing Subject: [PATCH net-next] enetc: Remove unused variable 'enetc_drv_name' Date: Thu, 19 Mar 2020 14:46:37 +0800 Message-ID: <20200319064637.45048-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.173.223.234] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org commit ed0a72e0de16 ("net/freescale: Clean drivers from static versions") leave behind this, remove it . Signed-off-by: YueHaibing --- drivers/net/ethernet/freescale/enetc/enetc_pf.c | 1 - drivers/net/ethernet/freescale/enetc/enetc_vf.c | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/net/ethernet/freescale/enetc/enetc_pf.c b/drivers/net/ethernet/freescale/enetc/enetc_pf.c index 4e4a49179f0b..85e2b741df41 100644 --- a/drivers/net/ethernet/freescale/enetc/enetc_pf.c +++ b/drivers/net/ethernet/freescale/enetc/enetc_pf.c @@ -8,7 +8,6 @@ #include "enetc_pf.h" #define ENETC_DRV_NAME_STR "ENETC PF driver" -static const char enetc_drv_name[] = ENETC_DRV_NAME_STR; static void enetc_pf_get_primary_mac_addr(struct enetc_hw *hw, int si, u8 *addr) { diff --git a/drivers/net/ethernet/freescale/enetc/enetc_vf.c b/drivers/net/ethernet/freescale/enetc/enetc_vf.c index 28a786b2f3e7..f14576212a0e 100644 --- a/drivers/net/ethernet/freescale/enetc/enetc_vf.c +++ b/drivers/net/ethernet/freescale/enetc/enetc_vf.c @@ -5,7 +5,6 @@ #include "enetc.h" #define ENETC_DRV_NAME_STR "ENETC VF driver" -static const char enetc_drv_name[] = ENETC_DRV_NAME_STR; /* Messaging */ static void enetc_msg_vsi_write_msg(struct enetc_hw *hw, -- 2.17.1