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 509E3A04FD; Fri, 7 Oct 2022 19:45:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B664742B8F; Fri, 7 Oct 2022 19:44:40 +0200 (CEST) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam07on2081.outbound.protection.outlook.com [40.107.212.81]) by mails.dpdk.org (Postfix) with ESMTP id A2051427FF for ; Fri, 7 Oct 2022 19:44:37 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bQXrUZjm5ej8FYVcGS3G3o36eb05J18wAWXKmcJWZhQ4Zkqmx8LWfV37cYkXyRumVcCTEGSqzS+odd0CHClOxQnKdN0pgF6WebsDY/SIl9ZeLsFc2etBsIUzYeZbd86l4P+8lvxpAnVN5DonXFQoPyabAEPWZD1e1TcVQjgGneS5Tcz/YRPfkiKbZueRpVufKGdYf4AyVJZ6wzaP2j6uDLKMMn6Mo5e4IW9vaWH5R/gt2WSbEJdL+tjje2BUW4/yLyLHh7i5SH/XOI6DGbxPfsF3XUo+bqNs70TWqfATctoFHeyIraZD4WZuLCujFJWzcjslWMWmNfhRa1mq/rqdhw== 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=XM6edsU4lyoPjR7z+0UwNLwx/z4kVJ7EYMBeqqj5xjI=; b=asqM+MTOSs1wfy5x0OdtsaS2EEtfQvZWulDz7iNryC/8P/6YlY1RaAH13uVrS4cKV6tIZRJgH557H/EhiBzYstcIl+TzRZtfDjGMePmJx0hiQ85vt80e1G1EzkHipsZEhxfMtL5mxwkKbf75YB590nFFDQjbuyKyQ443xMZ6bcCNipfgN15GdpIIbocbr7+rzOmeHxzYPN4kHjAvOYdJdiejh/PIu8y/S6gzFotNk+ycuuB3v7/teToG8eSYagwh54CvjpJb41Wi70355EPw4OOKxSayMLSu0jNry7aqoGkJlX+T9VMwbinYcri0m3AGnryKDkOBripHI3VhJtTzhw== 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=XM6edsU4lyoPjR7z+0UwNLwx/z4kVJ7EYMBeqqj5xjI=; b=yFUJL7Ny70K1xIxxjDgoZlz4Fzc755yjmfqoenFEyx4RckmrXcDUrbfYcML27nqV0VqI4cRU500G/ijjqG8w6g7aYGYug5gHqTjT/8MKXyIcRQYwj6bD6XnUbJEhK0LvAq86DGsgMBnd09qi3XDbprYYJJVzfVsZXrOZGAaNAz4= Received: from MW4PR03CA0006.namprd03.prod.outlook.com (2603:10b6:303:8f::11) by SA1PR12MB7224.namprd12.prod.outlook.com (2603:10b6:806:2bb::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.24; Fri, 7 Oct 2022 17:44:36 +0000 Received: from CO1NAM11FT055.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8f:cafe::7e) by MW4PR03CA0006.outlook.office365.com (2603:10b6:303:8f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.24 via Frontend Transport; Fri, 7 Oct 2022 17: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 CO1NAM11FT055.mail.protection.outlook.com (10.13.175.129) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5709.10 via Frontend Transport; Fri, 7 Oct 2022 17: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.28; Fri, 7 Oct 2022 12:44:32 -0500 From: Andrew Boyer To: CC: Andrew Boyer Subject: [PATCH 10/35] net/ionic: remove unused identifiers Date: Fri, 7 Oct 2022 10:43:11 -0700 Message-ID: <20221007174336.54354-11-andrew.boyer@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20221007174336.54354-1-andrew.boyer@amd.com> References: <20221007174336.54354-1-andrew.boyer@amd.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1NAM11FT055:EE_|SA1PR12MB7224:EE_ X-MS-Office365-Filtering-Correlation-Id: 293924cc-aff0-4b8d-f062-08daa88b99af X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: z4ds1l/XieuxiJD+/FiSJWjOZaupNWQncO6op2EA0+kseIuuNbDek7MFes6pV68AzGCLIhuuzC1I5s3dTSasdvH7OSNOLeqS43jl7qj2okKjatVd0fZy/+uWkB2fAOBWOApZnHiYjyJluuPu7HN+LYOQotQ4bhCpP76DVNts7gtGG+GkHGUyPvDpsYudHsve1aznktWO6vjhpeo62qyHZU6MWQaD7pnPqcnAdboqUqy/cDfhfHKuIPHOnDjC7yWtUo/zQxfOKOCOmUo0eiicQqxW/qDrAirJkpnOJ/m8yR+PvYcqtqCY4jALlMNVE7f6+CGg2G66n5M43Ko0up4/URV9IPjBHNMP1Sz9dCbSqn2CVmRxKrmbyo2nWr2KuTgYvlgaY+sadsIkKzrJ6eLuK3Kxkv+DEMYcZrUWBVndNcrSCu/pvxvKwweZ4ugmZvUbfO1P9saS4GpRkNkkmg3LFbH+8V4zMom571p/YgrcJiKLIeijuAB9xZe0lK9GcFE8E97k5d+sbQATzPR4+NNIk6qP4iW7NGl/+Q8lttwvkZmAe1mOQ/i6ne6KCsnjZQIn4BJsdW6U0zAUw1GKs4+KQOkCBT+u//AesZ/n3Zc57Ri9ViQP2nmVM0d2ItLZPEbKkCw7ubtU+C31sDzNXAGuCsmXsM5IGlakdDgZpUbWVDyXCabPWaKSG/LFPvhOhtVA0yB3d77mCOzJ5t8QsJT64oKFNex+WXq8hgzjRcB38YRBbE9gizdgK5k/RRjRY5UQueaxW+Z3PrlwuptKtRFemlOgVECM8pagK7DnnBf1gUU= 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)(346002)(136003)(396003)(376002)(39860400002)(451199015)(46966006)(40470700004)(36840700001)(426003)(70586007)(36756003)(81166007)(83380400001)(47076005)(5660300002)(6916009)(16526019)(336012)(356005)(36860700001)(6666004)(478600001)(2906002)(70206006)(316002)(8676002)(4326008)(40460700003)(2616005)(186003)(86362001)(1076003)(82740400003)(26005)(82310400005)(44832011)(40480700001)(41300700001)(8936002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Oct 2022 17:44:35.6992 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 293924cc-aff0-4b8d-f062-08daa88b99af 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: CO1NAM11FT055.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB7224 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 7578cd31bf..ebe23ad4e6 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 42ba9ef5aa..600d8f4abd 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 d1ed293604..f4a4276d33 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