From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C4CA4A0560; Tue, 18 Oct 2022 21:44:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BA8F84114E; Tue, 18 Oct 2022 21:44:38 +0200 (CEST) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam07on2070.outbound.protection.outlook.com [40.107.212.70]) by mails.dpdk.org (Postfix) with ESMTP id 373B94114B for ; Tue, 18 Oct 2022 21:44:38 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Es5K1zO88ObD9HxKJEdtckklkij6GTZYSkImAW67KAu+xGz6N5naA4jBA3942tIAucyXowx7SBGQbO4/jjC+RJGAXr2QgkszAT93HB3NchBwuc3DfwB/xHdfMJ4XvuvkY7MMxs2waqmP5f7D1gDSLiGMsCVEs/kVQD3QDibMCTJDWA57SGpUDBOvDiA5hdzJogSzZzjTETJIoJeNTsvvX51fHqQ0aT7XQEdreToEy1CQJF+rOKF2t8JCQx9+JLqlzxS+Sjybbh6PSOKOZIqLZ3wizSA8RybsOq2fS1rrt2GlSksN5qKg1U6YZ9YUZp7WpQWiFCYdFBJCSqYbprl/nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uoog+p1vNqNgbvJRJ0BSaYkq3TvZlH+Pfn+chCzP9YA=; b=EZH0LCCX1qsEwwR5s3tzbB98vGIU59g/dd40fiSRgAuA3ZlBmtFhz0Smzo9gfT++1BpnxJczFhCh6F2Ik2IyqUbPqLie6QGkr2VX/Lg3quOuq2Z17jvDNxUwzvEUhZMCRX/QadEaoWT/mPOucRf3w4kYjbDYZ4jmwechKtaiZGkaydFW52O+HX3Rz61gt6fO4xkTavrrGYxueLSSMbisdT45kCa+ou2slLXVqFxO/vEGZt1LfRjPUoAd1gpKwZS2XK+0o2dREM2TPIZrKnTYQOlPXcp2W/EEcogbzwDXADpU4wH8IwyQKaKeIkHbl1rJwwQRKB1OSMu8BPsf5ZJE1Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=dpdk.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uoog+p1vNqNgbvJRJ0BSaYkq3TvZlH+Pfn+chCzP9YA=; b=CQuyk3yqoKim9ktmIwWEHrveWlMuSnizH8WMbUpD0i852l3z9wKHe5Gt05PW1xhZVDyomkJlWZHRHNb+394YsCu2i3tlZ4YNiFHjRZ1oRZJRqmftEtMwVFBRHkkcsVhwbtDESff9vIojWq3FEv7j7A9UQFC++0LOjt9k5TF+0KU= Received: from DS7PR03CA0145.namprd03.prod.outlook.com (2603:10b6:5:3b4::30) by MW3PR12MB4379.namprd12.prod.outlook.com (2603:10b6:303:5e::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.32; Tue, 18 Oct 2022 19:44:36 +0000 Received: from DM6NAM11FT009.eop-nam11.prod.protection.outlook.com (2603:10b6:5:3b4:cafe::ec) by DS7PR03CA0145.outlook.office365.com (2603:10b6:5:3b4::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.34 via Frontend Transport; Tue, 18 Oct 2022 19:44:35 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DM6NAM11FT009.mail.protection.outlook.com (10.13.173.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5746.16 via Frontend Transport; Tue, 18 Oct 2022 19:44:35 +0000 Received: from driver-dev1.pensando.io (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 18 Oct 2022 14:44:33 -0500 From: Andrew Boyer To: CC: Andrew Boyer Subject: [PATCH v2 11/36] net/ionic: remove unused identifiers Date: Tue, 18 Oct 2022 12:41:06 -0700 Message-ID: <20221018194131.23006-12-andrew.boyer@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221011005032.47584-1-andrew.boyer@amd.com> References: <20221011005032.47584-1-andrew.boyer@amd.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT009:EE_|MW3PR12MB4379:EE_ X-MS-Office365-Filtering-Correlation-Id: 0aeca0ad-0af6-45f2-cf98-08dab1412fc1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: d8TWPwAzRxamTcUS/9YmizekAWMDR3Gnqu2h35V1b7vsceQ+Vy9Tx/jseXVXfV/KZ3z/LtH06fCV2DYU47ObDSioh78/ViU7DzwoQqSMSX5H69HNNeXjeHnbzrVFMa7mQJOpuxPlhUOt1W1EdpcnqYzoXB5GApt5JzbcGyJdyiWu/rjtRmkCWJblMSCtVMZeRzZAqtR2lmA3KO5GwAohDam0P+2s75i+tRwWWoCUeWg29ioMRErRzN1Xot84ThpnaGU6OPlozysn1e14eA4ZfgA73+MFND4K6hHuiBvDgwNeFNnLdtCM5lrRHTFh+Z/7fuujU7KU21snfwKiYD5730Cann8qMbBB4SRu+nfAhQLY+RR+yD5c2TqJcAGi55nxBWG/Cb1io5cL9jWHF7bX5xUJ4pepX+jcR6rQwB4FHbCwSD6N3gi/VkwomvtEOwVp0t6EjWsJxkzwVEW3CU6nCtmbaCwG7ggizJT/fnw+OHLGZ7w46YToQOctpKmwogWk8yEWqod39wfRzzPI5Lr04k/b0azVQXzB+8yUQ3bXThDd8vGjUh+ig/65xdax5RWzJUknkI7WBql0X9u4becpO5WUX/51B8/Mc7jaPfjmhD9Gq2sC2t+nXryy2ATKqkvZQA2ZbQMHhLE3M0Y8mguK4+i+CJmCZJ17TcT3h2yOOjWibaOP4TCCI9O7J8zdPebO7H0L1fRutKEcnNWXPmXdB8qc+6+O/pEfpF9Nf9sR26jbwJYB7EReGTuXpqQ6tSxGFaX+I9IG+YszK3jz2n/pszHk9BrLq9GNLcQ1YqdU9to= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230022)(4636009)(39860400002)(376002)(136003)(396003)(346002)(451199015)(36840700001)(46966006)(40470700004)(1076003)(2616005)(426003)(47076005)(186003)(16526019)(81166007)(83380400001)(336012)(356005)(86362001)(36860700001)(5660300002)(82740400003)(2906002)(44832011)(4326008)(82310400005)(41300700001)(40480700001)(8676002)(8936002)(6666004)(478600001)(70206006)(316002)(70586007)(40460700003)(26005)(6916009)(36756003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Oct 2022 19:44:35.7786 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0aeca0ad-0af6-45f2-cf98-08dab1412fc1 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT009.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR12MB4379 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org These bits are not used. Remove them to simplify the code. Fix the spacing on the IONIC_ALIGN #define. Signed-off-by: Andrew Boyer --- drivers/net/ionic/ionic.h | 1 - drivers/net/ionic/ionic_dev.h | 4 +--- drivers/net/ionic/ionic_ethdev.h | 2 -- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/net/ionic/ionic.h b/drivers/net/ionic/ionic.h index a05bf4ee71..7c8710b637 100644 --- a/drivers/net/ionic/ionic.h +++ b/drivers/net/ionic/ionic.h @@ -62,7 +62,6 @@ struct ionic_adapter { bool link_up; char fw_version[IONIC_DEVINFO_FWVERS_BUFLEN]; struct rte_pci_device *pci_dev; - LIST_ENTRY(ionic_adapter) pci_adapters; }; /** ionic_admin_ctx - Admin command context. diff --git a/drivers/net/ionic/ionic_dev.h b/drivers/net/ionic/ionic_dev.h index 7aea9c9907..b284a36044 100644 --- a/drivers/net/ionic/ionic_dev.h +++ b/drivers/net/ionic/ionic_dev.h @@ -21,12 +21,10 @@ #define IONIC_MIN_RING_DESC 16 #define IONIC_DEF_TXRX_DESC 4096 -#define IONIC_LIFS_MAX 1024 - #define IONIC_DEVCMD_TIMEOUT 5 /* devcmd_timeout */ #define IONIC_DEVCMD_CHECK_PERIOD_US 10 /* devcmd status chk period */ -#define IONIC_ALIGN 4096 +#define IONIC_ALIGN 4096 struct ionic_adapter; diff --git a/drivers/net/ionic/ionic_ethdev.h b/drivers/net/ionic/ionic_ethdev.h index 4762ba7a9d..16077e2786 100644 --- a/drivers/net/ionic/ionic_ethdev.h +++ b/drivers/net/ionic/ionic_ethdev.h @@ -17,8 +17,6 @@ #define IONIC_ETH_DEV_TO_LIF(eth_dev) ((struct ionic_lif *) \ (eth_dev)->data->dev_private) -#define IONIC_ETH_DEV_TO_ADAPTER(eth_dev) \ - (IONIC_ETH_DEV_TO_LIF(eth_dev)->adapter) int ionic_dev_link_update(struct rte_eth_dev *eth_dev, int wait_to_complete); -- 2.17.1