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 58F09A034C; Sat, 4 Jun 2022 18:27:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3DA4B42B74; Sat, 4 Jun 2022 18:27:40 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id AA52542B71 for ; Sat, 4 Jun 2022 18:27:37 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 254GRF5w032547; Sat, 4 Jun 2022 09:27:37 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=O65wB9iJJ7jrZLGORHeR6xfp4A02/qUJEtVrVPakrV4=; b=HP9etKW/ppz8iDtnYAP12CFc7lzLjuQZSHL90hw8gKFxYG0FH5EeuJgH5FzXZc5G4bcG ZX0/RXGTzMImcUKzmsFsK+dMVNwEJutrG7xCEStigGBres+lyOjsRAqR5Tst6uviXfFv 5n451BIaDvhkS6nUNYCx+2aHfFnEm4X8jwquVpkRSRel07o4Fm4p1TJg8k6bJq+3gNr2 1i+mE3qBHw4lp437nL7j+hlpCjS09SMpo1qy8Ficerta/1Sb0mNkpPx/eJzsO01duJA9 CPvGOxGMWKYJA3MKH2vONR048Y/T/eqc9b5BQ9/OX+gu8mVhi11r5pC47vO+eIL7/6O8 HA== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3gg6wq0dhe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sat, 04 Jun 2022 09:27:37 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Sat, 4 Jun 2022 09:27:35 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Sat, 4 Jun 2022 09:27:35 -0700 Received: from localhost.localdomain (unknown [10.28.34.39]) by maili.marvell.com (Postfix) with ESMTP id 915753F7097; Sat, 4 Jun 2022 09:27:32 -0700 (PDT) From: Tomasz Duszynski To: , Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao CC: , , Tomasz Duszynski , Jakub Palider Subject: [PATCH 08/10] common/cnxk: remove unused constants Date: Sat, 4 Jun 2022 18:26:49 +0200 Message-ID: <20220604162651.3503338-9-tduszynski@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220604162651.3503338-1-tduszynski@marvell.com> References: <20220604162651.3503338-1-tduszynski@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: H5LGJol5kozn-NFtLufvjxZidz5bqA6n X-Proofpoint-GUID: H5LGJol5kozn-NFtLufvjxZidz5bqA6n X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.517,FMLib:17.11.64.514 definitions=2022-06-04_05,2022-06-03_01,2022-02-23_01 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 Some constants are redundant hence remove them. Signed-off-by: Tomasz Duszynski Reviewed-by: Jakub Palider Reviewed-by: Jerin Jacob Kollanukkaran --- drivers/common/cnxk/roc_bphy_cgx_priv.h | 53 ------------------------- 1 file changed, 53 deletions(-) diff --git a/drivers/common/cnxk/roc_bphy_cgx_priv.h b/drivers/common/cnxk/roc_bphy_cgx_priv.h index a1a4239cbe..c8c406439c 100644 --- a/drivers/common/cnxk/roc_bphy_cgx_priv.h +++ b/drivers/common/cnxk/roc_bphy_cgx_priv.h @@ -5,59 +5,6 @@ #ifndef _ROC_BPHY_CGX_PRIV_H_ #define _ROC_BPHY_CGX_PRIV_H_ -/* LINK speed types */ -enum eth_link_speed { - ETH_LINK_NONE, - ETH_LINK_10M, - ETH_LINK_100M, - ETH_LINK_1G, - ETH_LINK_2HG, /* 2.5 Gbps */ - ETH_LINK_5G, - ETH_LINK_10G, - ETH_LINK_20G, - ETH_LINK_25G, - ETH_LINK_40G, - ETH_LINK_50G, - ETH_LINK_80G, - ETH_LINK_100G, - ETH_LINK_MAX, -}; - -/* Supported LINK MODE enums - * Each link mode is a bit mask of these - * enums which are represented as bits - */ -enum eth_mode { - ETH_MODE_SGMII_BIT = 0, - ETH_MODE_1000_BASEX_BIT, - ETH_MODE_QSGMII_BIT, - ETH_MODE_10G_C2C_BIT, - ETH_MODE_10G_C2M_BIT, - ETH_MODE_10G_KR_BIT, /* = 5 */ - ETH_MODE_20G_C2C_BIT, - ETH_MODE_25G_C2C_BIT, - ETH_MODE_25G_C2M_BIT, - ETH_MODE_25G_2_C2C_BIT, - ETH_MODE_25G_CR_BIT, /* = 10 */ - ETH_MODE_25G_KR_BIT, - ETH_MODE_40G_C2C_BIT, - ETH_MODE_40G_C2M_BIT, - ETH_MODE_40G_CR4_BIT, - ETH_MODE_40G_KR4_BIT, /* = 15 */ - ETH_MODE_40GAUI_C2C_BIT, - ETH_MODE_50G_C2C_BIT, - ETH_MODE_50G_C2M_BIT, - ETH_MODE_50G_4_C2C_BIT, - ETH_MODE_50G_CR_BIT, /* = 20 */ - ETH_MODE_50G_KR_BIT, - ETH_MODE_80GAUI_C2C_BIT, - ETH_MODE_100G_C2C_BIT, - ETH_MODE_100G_C2M_BIT, - ETH_MODE_100G_CR4_BIT, /* = 25 */ - ETH_MODE_100G_KR4_BIT, - ETH_MODE_MAX_BIT /* = 27 */ -}; - /* REQUEST ID types. Input to firmware */ enum eth_cmd_id { ETH_CMD_GET_LINK_STS = 4, -- 2.25.1