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 BE0DBA0544; Tue, 11 Oct 2022 02:52:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D02A542BDD; Tue, 11 Oct 2022 02:51:55 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2051.outbound.protection.outlook.com [40.107.243.51]) by mails.dpdk.org (Postfix) with ESMTP id 2C47542BCD for ; Tue, 11 Oct 2022 02:51:53 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dM+G/3vO/btkVYCNF9TiFYE8qvHmZ0ntvNB2hJJNhnXDKvieBk3z09+xc8Bup6YJtm2qCvJSzzvJu0hCkHopnjKigmPH9gu0FMkU52KSgXhXAAz3JyJQkfuJWbh48Qr2K04+5cOSsqOJzaTJ03htsRQPQ00WKZFMtYP443NZYFqESDrnjbVnG8UjH/Pgiu+nPGENnkGwCAY/ZQVh3AdfMa3tzX4Xge1cMwU4a3KWl7vufQKo/36s8Czb/+MptnIfMYKNSzUtCR6kTzG0MV/E645WXQf+ttsZT0pRrPPtRBwQRr4uHYizJhnJwDXu0PUuLzImhtKCz70fCpR9MTrjAQ== 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=Hocznik2RWoq4DJse/++KdilfpRk7K8HhsfAHA0uYjbxXLswOHB4mdU887jG7VkYnMstv4KpAT/Q25lEOoBxg/qWpT+jKhbD431B2R6/qf5/aV1fdpuYck1AzLXib2O4MWUc8zbqazIo4sSQbsSbzoif64G9bZr3tAO37HbeKNWuitsnLFHl8WpD/+ImJSlab0ZbqQl74QSHKrUHf+FecFodrM2sCDycdcBol+WmEAU3rk2QKFDJP4gBhU1KFcPvtyIPXS5L4MRWEmrzNiNm7g+rs9QVOUag/fQtsDvvMLYQW/XffJBQc8giuuRcsMyadwU5LRbcMyyUTqnBfw8lhg== 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=zU4z9q7KSAtcS7gMDxZuGWhaE3IeJc6AVtb7vufH5kRg+aBZm+tUIGn7W6oVCHuzVxXs+UvRWR804rLMSYZP/rOVFAFjAhZpm9axBCmndYxHls7thIOasWmsWpoHWbQWnbXWshykL6eHsH/Ht0n3pmaAT2nQ9DeqTaMfOft7z1E= Received: from BN0PR04CA0162.namprd04.prod.outlook.com (2603:10b6:408:eb::17) by BL3PR12MB6619.namprd12.prod.outlook.com (2603:10b6:208:38e::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.15; Tue, 11 Oct 2022 00:51:51 +0000 Received: from BN8NAM11FT097.eop-nam11.prod.protection.outlook.com (2603:10b6:408:eb:cafe::5c) by BN0PR04CA0162.outlook.office365.com (2603:10b6:408:eb::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.15 via Frontend Transport; Tue, 11 Oct 2022 00:51:51 +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 BN8NAM11FT097.mail.protection.outlook.com (10.13.176.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5709.10 via Frontend Transport; Tue, 11 Oct 2022 00:51:51 +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; Mon, 10 Oct 2022 19:51:50 -0500 From: Andrew Boyer To: CC: Andrew Boyer Subject: [PATCH v1 10/35] net/ionic: remove unused identifiers Date: Mon, 10 Oct 2022 17:50:07 -0700 Message-ID: <20221011005032.47584-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: BN8NAM11FT097:EE_|BL3PR12MB6619:EE_ X-MS-Office365-Filtering-Correlation-Id: 2163ca84-a163-4a97-c3ce-08daab22c8d8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ZCLsFSr6VbLgwJesetm9xwE75G8GcdY8Fjkwxlzn1oVgeCKyEDWe2Ha3CgVEGybPSBLCSqpZc8eysGU62/X7Y01Yu2BlD8q50rpCRNyWqtJ275XYs+Eq7vqGYVKE31BO+InCZo9uaX+7NxGEgigcMRVI177hFX91ohr+WTHKxe0OMQ3/CPmK71ElpP95MEmApaV+LIUi6dOUzH7PFDUamAeU3+MRVcC6qhFFbCJm3R+69l96ybz8TqQ+K87ZYdbCZ0xBuziNroGIz8LKK4MjS0Dm7GlH/mdcprVhvqViliMNiAc/PYlmaOEuWfYQE7eE5z5GkJdfHZ6Ms9Emqsyc3I+sCQ3dP3J5yXvxW64YcxOj2K3UCODxltss2r0gw+C7HlKaq7DFIj+3aWjaedFLYN6yOnPNkwrSDjUK+J4rx+a8rfUP1bO/WMJqCbbp2h1SGif2qtM6dDdohz4ChPXsvHVWFhOcypzIdRoOzowUuQeDUo6lyodAX/XNyNsyBZixXhDCF3wCTKZBilazsRwhINv5K2xs2lM0DG7yZdvAEMvRwTAlrwlbi9D9H8HWcnTKm3uzf3cLbFW+cej4aqy56Mas2+bGEuhb83ao5MIUxqjFpvWWHcCtJ/74tucPF6pVYCiv7gYUd4fyz7tMfvcr8P7CmoS+3NuNh8jUVMCNHVGL1tegC1pKEhxsO3/1+jFFTQYjI+SM4oNHsEQWn0bpBfo85Nbo0jc4JltmykonzLtdP7PO/JSEQ8mJbBSFoQUyPmzEFcYJQcobANiYoKI02ZcFqlo5PTgcitB26cf9uqI= 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)(39860400002)(376002)(396003)(136003)(451199015)(40470700004)(46966006)(36840700001)(8936002)(426003)(5660300002)(47076005)(8676002)(4326008)(2616005)(82310400005)(16526019)(1076003)(186003)(41300700001)(81166007)(83380400001)(336012)(70586007)(6666004)(70206006)(36860700001)(36756003)(86362001)(478600001)(356005)(82740400003)(44832011)(26005)(6916009)(316002)(40460700003)(2906002)(40480700001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2022 00:51:51.2764 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2163ca84-a163-4a97-c3ce-08daab22c8d8 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: BN8NAM11FT097.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR12MB6619 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