Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp851066imm; Fri, 27 Jul 2018 07:14:52 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe8wXTsOHJ9HqqzNfjXbxFWsaMCT/skJ+RYVItLrSM2/PiIjRRzAlRlhbksvJCuUy9FQ1wx X-Received: by 2002:a63:5b0d:: with SMTP id p13-v6mr6422346pgb.202.1532700891974; Fri, 27 Jul 2018 07:14:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532700891; cv=none; d=google.com; s=arc-20160816; b=OZBMCAj7h5zIImJmbJdSmo5HV9nRX0z0fgorhtdMmaxnQByLcWzZQL+9DvKMxFbSRn 1M9M6jIOua2MQCZfXBV45SCdmfkEFpn+ib5pN6QD532YKuyxnz6MJmkgltc2j3Tr84UG ZmtAXTFFhIvJt778ZfCgXbxj3201JcmGksULgN6NItzmEChVQuhiq5xBPXWFoLo82Vhi 4SVvyGIUg5/bcjch0jppcbuXywD0RFtQjCl8IGnxVjIselylttR+fZUt9d92syODi3P5 RoyWBsRB0077G9Gs/bk4uYOCLn9m0SMPjEa+q86FlxLR+2R5PVBTR7A9XQgCrKyJrUD8 tmbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:arc-authentication-results; bh=3o1i4wMVnApKq/gMgTYWcyYSUdD3ytXDaYXqbu0oRbE=; b=v5kpSZl7gvr1L1Y5hWafAmcRWO1ogOKHaSwqtGOZLCW6dpFFjmLI2hTYHrw03LLHVb kgAlUM7iWnyI5K5BgW04xCEeoGBDppPWw5NvsCDvJdLgS+btPqLA7jXCInZpU8OGEu2t FTjk0qzwvN1ljEI8zRF6J+nwxvOfWff5OCtoyqB7ful6Y9QeME6BPA+C4iDbn3aQK+zi fLDNkNXWi6ZVpdnoII98XtLMROaf9FROJ2vk2MjJJ4rqZW9mRB+O9uVijwMvpP9PGye+ E4UZ+abKt45PmTlac304Uo/H0LIKx6UwHHi7OMYPgwv7rQR478QmxbIBzULFtsMS4YAV +XHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=bMLcUeQc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u19-v6si3803667pgk.100.2018.07.27.07.14.34; Fri, 27 Jul 2018 07:14:51 -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; dkim=pass header.i=@nxp.com header.s=selector1 header.b=bMLcUeQc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388473AbeG0Pfa (ORCPT + 99 others); Fri, 27 Jul 2018 11:35:30 -0400 Received: from mail-eopbgr00052.outbound.protection.outlook.com ([40.107.0.52]:1281 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730714AbeG0Pf2 (ORCPT ); Fri, 27 Jul 2018 11:35:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3o1i4wMVnApKq/gMgTYWcyYSUdD3ytXDaYXqbu0oRbE=; b=bMLcUeQcNdEJ9gD2SvU5rlCJs0BTHKn/OnccUX3JyckuDczwG30YFLlxFSRlvR5mO0Oy9ZLejY6kX2eThg8CUgWjmR0PIILykxkrCpbZGJtD9R00l+K11QUsqOcjIOTnlDj35ShTMRqYZJ/2tRGk9MpxDD0QajnMAmYlOGI2aBk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ruxandra.radulescu@nxp.com; Received: from rhuath.am.freescale.net (64.157.242.222) by DB4PR04MB348.eurprd04.prod.outlook.com (2a01:111:e400:9831::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.973.22; Fri, 27 Jul 2018 14:13:14 +0000 From: Ioana Radulescu To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, ioana.ciornei@nxp.com Subject: [PATCH 2/2] staging: fsl-dpaa2/eth: Remove unused driver version Date: Fri, 27 Jul 2018 09:13:00 -0500 Message-Id: <20180727141300.17511-2-ruxandra.radulescu@nxp.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180727141300.17511-1-ruxandra.radulescu@nxp.com> References: <20180727141300.17511-1-ruxandra.radulescu@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [64.157.242.222] X-ClientProxiedBy: SN6PR06CA0010.namprd06.prod.outlook.com (2603:10b6:805:8e::23) To DB4PR04MB348.eurprd04.prod.outlook.com (2a01:111:e400:9831::20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f2980405-97bb-485c-bcd6-08d5f3cb1840 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:DB4PR04MB348; X-Microsoft-Exchange-Diagnostics: 1;DB4PR04MB348;3:dtowq1hlfVYdFGYSqumGYHI1NHEkc7lO1W8IW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yvQTHfi9hgLrLx60o3wVNLGaNk5xqEWCik7VCjW8kmTzfYGFXYmfBvJqA4maV07cjk+BJA935Kull+5Fv1OgCx2jyauucwHcMq3lqu14UsgSRsrlYYNRfwUPam56OVwjUGgGXDMfphuAYKfvjeT8yqFYjRQGPOSiebqupWbEW6h9gwcEgRi3CUKTvJcrR77EaGnOmkCcfaz2VBMjLr4iRtMILSzY2kE+OQk4FyGX1toTCh1BA2djIeRkxEZCrqEgEbGIDNzHgwD78NCC9kSFuysU3wxlRTpT/aQzhH3NLMyCgs/;4:DxYB/oARKbeGaPWVY34H5je44wqrO2UBOcU1kV/KW89kR1nkrgR6BzPmiUFs4NsMuai/h0W8yH0LWLBKW6AVsJKcziqjN9612FmC/1dEMmHFLTHCUPbGdGV/LehqsDnbC8lxc4cJsIWj7qcOpbGzlVcYn8mgyYaqlHuU1hzNcLOGsXqh6sth3ad9OjdLr6/7HwQGdY4/r8/sb53ypWN7iKveq8BvAKEN9fJ1Y4uBBD4uJMt19BTZitz9OWCWjt4X1c+tZVrKQ4lI15semDMERFxuESCPMtmiyCLFaeVD9+Lgg2Z8V9jWHZePl+xscTwQ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231311)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016);SRVR:DB4PR04MB348;BCL:0;PCL:0;RULEID:;SRVR:DB4PR04MB348; X-Forefront-PRVS: 07467C4D33 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(366004)(396003)(376002)(346002)(136003)(39860400002)(199004)(189003)(50226002)(6512007)(316002)(6916009)(16586007)(486006)(8676002)(8936002)(47776003)(476003)(81166006)(6486002)(81156014)(66066001)(52116002)(7736002)(51416003)(2361001)(956004)(25786009)(305945005)(6666003)(478600001)(76176011)(97736004)(2616005)(68736007)(36756003)(1076002)(2351001)(3846002)(53936002)(6116002)(86362001)(4326008)(446003)(2906002)(48376002)(386003)(16526019)(186003)(5660300001)(6506007)(50466002)(106356001)(11346002)(105586002)(26005);DIR:OUT;SFP:1101;SCL:1;SRVR:DB4PR04MB348;H:rhuath.am.freescale.net;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DB4PR04MB348;23:oQ+rXYXi5sFmjvNQy28vussTwv9s4S32o44yF5S58I?= =?us-ascii?Q?S0tuPprjAyVuaSe/cOgWRVACNfiLd0mqG5nWzfP71mg03Eioti3Ql/ntApv5?= =?us-ascii?Q?lzC4RpCuACPnebHPVkv7bocATIS53HkeWBmgE0Rzu1xwWqPMTD5/ASH97y1Z?= =?us-ascii?Q?N3O7mZpY8kJUkBoszTbhV/ZM6x+nXS1ro77qwM9UVB/IJc3IvK8fIS9BuEiy?= =?us-ascii?Q?cXGn5sHIcYvjCIXvMxFmNDoXPdWqY8aaAaP9gR7/pCm8kpjpLOxwTn/g9v3r?= =?us-ascii?Q?djrVUeZvlF/2zYCHU37NtQaH91MMvBtH53P7sTyKFgfFwBTSZgvJgnOqDRJL?= =?us-ascii?Q?rq1w117/7PM2zi+sVabfyFu6SCgYW1ZYh8Jp1PTyVHxJYfTkiOChO2V9tk7t?= =?us-ascii?Q?qfDM2r8h29F70DJgVp47MUrm1fPiI6LilLxVP+Z6PKNrAsubtGEG7HMb35B8?= =?us-ascii?Q?3UJve1ElURyrybVMQ9dYvUqcWnVVBRGzJkqiGERpyT/sqyuUhc81S5Fpzcw/?= =?us-ascii?Q?+b2MR4SqILBrvdXNn6iOil/d0sM/kG734cSWdLGQj7ME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K3Tl8QsQUQ+T SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jul 2018 14:13:14.3130 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f2980405-97bb-485c-bcd6-08d5f3cb1840 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR04MB348 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We never really used the driver version, so no point in keeping it around. Signed-off-by: Ioana Radulescu --- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 2 -- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h | 1 - drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c | 2 -- 3 files changed, 5 deletions(-) diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c index 5dd73b1..41dd6d88 100644 --- a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c +++ b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c @@ -55,8 +55,6 @@ MODULE_LICENSE("Dual BSD/GPL"); MODULE_AUTHOR("Freescale Semiconductor, Inc"); MODULE_DESCRIPTION("Freescale DPAA2 Ethernet Driver"); -const char dpaa2_eth_drv_version[] = "0.1"; - static void *dpaa2_iova_to_virt(struct iommu_domain *domain, dma_addr_t iova_addr) { diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h index 5589738..6cf8a4b 100644 --- a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h +++ b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h @@ -392,7 +392,6 @@ struct dpaa2_eth_priv { #define DPAA2_CLASSIFIER_DMA_SIZE 256 extern const struct ethtool_ops dpaa2_ethtool_ops; -extern const char dpaa2_eth_drv_version[]; extern int dpaa2_phc_index; static inline int dpaa2_eth_cmp_dpni_ver(struct dpaa2_eth_priv *priv, diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c index 1ae779a..8a3c3da 100644 --- a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c +++ b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c @@ -82,8 +82,6 @@ static void dpaa2_eth_get_drvinfo(struct net_device *net_dev, struct dpaa2_eth_priv *priv = netdev_priv(net_dev); strlcpy(drvinfo->driver, KBUILD_MODNAME, sizeof(drvinfo->driver)); - strlcpy(drvinfo->version, dpaa2_eth_drv_version, - sizeof(drvinfo->version)); snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), "%u.%u", priv->dpni_ver_major, priv->dpni_ver_minor); -- 2.7.4