From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B0473A00E6 for ; Sun, 1 Sep 2019 16:37:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 59B6C1C205; Sun, 1 Sep 2019 16:37:26 +0200 (CEST) Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id B9C0A1C119; Sun, 1 Sep 2019 16:37:24 +0200 (CEST) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (webmail.solarflare.com [12.187.104.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id 55E94780081; Sun, 1 Sep 2019 14:37:23 +0000 (UTC) Received: from ocex03.SolarFlarecom.com (10.20.40.36) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Sun, 1 Sep 2019 07:37:19 -0700 Received: from opal.uk.solarflarecom.com (10.17.10.1) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Sun, 1 Sep 2019 07:37:18 -0700 Received: from ukv-loginhost.uk.solarflarecom.com (ukv-loginhost.uk.solarflarecom.com [10.17.10.39]) by opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id x81EbHcH008747; Sun, 1 Sep 2019 15:37:17 +0100 Received: from ukv-loginhost.uk.solarflarecom.com (localhost [127.0.0.1]) by ukv-loginhost.uk.solarflarecom.com (Postfix) with ESMTP id 9D0DE1613D1; Sun, 1 Sep 2019 15:37:17 +0100 (BST) From: Andrew Rybchenko To: Igor Russkikh , Pavel Belous CC: , Ivan Ilchenko , Date: Sun, 1 Sep 2019 15:36:43 +0100 Message-ID: <1567348603-16292-1-git-send-email-arybchenko@solarflare.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24882.005 X-TM-AS-Result: No-1.064200-4.000000-10 X-TMASE-MatchedRID: /w5WcX9GavmaX3HcZnS3o9EoDizWRITm8dkWy9OCQOHo1+KnG60kJ11Z yX1veeaJej6FbDpKFMY8w2Ggykr1RtfQ7AU9Ytd4HPYwOJi6PLl6i696PjRPiAdkFovAReUoaUX s6FguVy1mnftW9giaFEq+yldh23d4DPIzF4wRfrAURSScn+QSXt0H8LFZNFG7mf3YH9x5dJXnnF 6fPrUbWXfNLt+uBv/izM3vuaLOXH6eWvhiJXfwi+LmOhpan2d6+cS89bR9wf62RCorgrU+Sj8Fm J44vZjcig8mzVAlzSsPXLxHfxLeXVRHOSKs7RDUXmH0pBaurgG+4xOvsJAknok0oJvJCVSkQwym txuJ6y0= X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10-1.064200-4.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24882.005 X-MDID: 1567348644-B113vxQv99vb Subject: [dpdk-dev] [PATCH] net/atlantic: get rid of double declaration of dev info get X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Ivan Ilchenko atl_dev_info_get() is declared twice in atl_ethdev.c. Delete one of these declararions. Fixes: bb42aa9ffe4e ("net/atlantic: configure device start/stop") Cc: stable@dpdk.org Signed-off-by: Ivan Ilchenko Signed-off-by: Andrew Rybchenko --- drivers/net/atlantic/atl_ethdev.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/atlantic/atl_ethdev.c b/drivers/net/atlantic/atl_ethdev.c index 3c1b349..4a99699 100644 --- a/drivers/net/atlantic/atl_ethdev.c +++ b/drivers/net/atlantic/atl_ethdev.c @@ -45,9 +45,6 @@ static int atl_dev_xstats_get(struct rte_eth_dev *dev, static int atl_fw_version_get(struct rte_eth_dev *dev, char *fw_version, size_t fw_size); -static void atl_dev_info_get(struct rte_eth_dev *dev, - struct rte_eth_dev_info *dev_info); - static const uint32_t *atl_dev_supported_ptypes_get(struct rte_eth_dev *dev); static int atl_dev_mtu_set(struct rte_eth_dev *dev, uint16_t mtu); -- 1.8.3.1