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 B877241BA0; Wed, 1 Feb 2023 16:36:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9CF7842D39; Wed, 1 Feb 2023 16:35:58 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2054.outbound.protection.outlook.com [40.107.220.54]) by mails.dpdk.org (Postfix) with ESMTP id 14DE142D38 for ; Wed, 1 Feb 2023 16:35:57 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PQw95qdb+gWHsEPiPkazUotFm4CEyhLx6kTUu6yQCB8VMOWIp2h0LDqhHO+LarGtNiiG922yQEYi6tVhAqB0D8fUPqtJ8y8dFBIiw7E0U2opZrG9d6ETi7VkOovY7a2lrdG7gjdXC5kbIfUP+A4/enB92j+lBviYKycJGF8uts81QErO+VRRvjJYk0uLjfVP+UceATq+HSaRbIRvfrXzdJz4coxOa7gMWifCi+7RAlKDpic8gdx0gfx/Td23cK8EVX3PidbDYcB5PFT4L4GoeCedcVWDyD6yFWTipUKaFw7F13CtoOYn6WKci7JUUk5hTYIzJcxfU8XlbFfcDrDjYg== 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=+NrgpmFAoPRtDVyDXycyeWp3SKIdWlSiAQr2onxKPKA=; b=JuQ5Bv5/S/T65RDXJaYVmdcDGxBFSt65aymhZd5P0ufUgGOKbimT6h7PZGKck8FH2W/MmacQmt3B774U6Nd2aXgbreDq4O6D3ME4wR+krznxbbkPBSlyNjuJMxTqeHhsNLv6SEefdvCY8DDkCHNcMZ0RtUSU+/qSbmS/kt1W4m4MU/hlO/Tzohr9NtlWPqkI/MZoEYhJ9Z4/fAyfmAKuLJ/dHP6g7627W3RxDjnQQOUvynCA6i+2OrPD+tn3T/DnLbO3kSEyDRv1WtfpVMpgE3/EVQn++Zhpdc8HyIggTh8xe1zaXg/L6jt+rDK86vNUuU1D8LHHeGusXtNavPnhAQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+NrgpmFAoPRtDVyDXycyeWp3SKIdWlSiAQr2onxKPKA=; b=QyNb1YW0bjdehzR/lYfC6qv22lCo/E1y8JVpPTsTqjSlJp6u4MiES8KHYbxXgk1MktgM90PZQJvTMNB7xp6/YBrvQHRfothRScZW6yb8Hsm36X5dAiGp8VRFWuga3N5GLLEK7Ixc8rLpwzuhWBgVgUh5mIzx+xh6K1w3Rn/Wz2M6B/WKau23ApTOYI1gOqB1xPMektHwTrf/3PWj/4ezZD3qP4NM4PMc+VwVC62t8ygs75TIVSE2v3W/C3UBFx9lk2+HYPliAvXvSNlfdp8jM3mt6/3drmzDTsyaA1R6DDEbXUDub6K/1AsUdmP1AVQ6jKsPhm26//m3mfgXnTGFhA== Received: from CY5P221CA0129.NAMP221.PROD.OUTLOOK.COM (2603:10b6:930:1f::14) by SN7PR12MB6689.namprd12.prod.outlook.com (2603:10b6:806:273::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.38; Wed, 1 Feb 2023 15:35:55 +0000 Received: from CY4PEPF0000C982.namprd02.prod.outlook.com (2603:10b6:930:1f:cafe::37) by CY5P221CA0129.outlook.office365.com (2603:10b6:930:1f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.22 via Frontend Transport; Wed, 1 Feb 2023 15:35:55 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by CY4PEPF0000C982.mail.protection.outlook.com (10.167.241.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6064.17 via Frontend Transport; Wed, 1 Feb 2023 15:35:54 +0000 Received: from rnnvmail202.nvidia.com (10.129.68.7) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Wed, 1 Feb 2023 07:35:43 -0800 Received: from rnnvmail204.nvidia.com (10.129.68.6) by rnnvmail202.nvidia.com (10.129.68.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Wed, 1 Feb 2023 07:35:43 -0800 Received: from nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36 via Frontend Transport; Wed, 1 Feb 2023 07:35:41 -0800 From: Michael Baum To: CC: Matan Azrad , Akhil Goyal , "Ashish Gupta" , Fan Zhang , Kai Ji , Thomas Monjalon Subject: [PATCH v2 2/2] compressdev: remove useless list end enums Date: Wed, 1 Feb 2023 17:35:31 +0200 Message-ID: <20230201153531.912219-3-michaelba@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230201153531.912219-1-michaelba@nvidia.com> References: <20230101134720.1709991-1-michaelba@nvidia.com> <20230201153531.912219-1-michaelba@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000C982:EE_|SN7PR12MB6689:EE_ X-MS-Office365-Filtering-Correlation-Id: 21fdd2ae-b5ff-4e02-2749-08db046a01f6 X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: N0NYo63SoVHX1EnpkGjQ2pwsm1hFQvIENz0a5es1abKRyk23as5jB7guqo7vzL/9lLhTzTp1ggSVIMbZ/mwGJnqjs8ioGBhaZNoDgkrfTFtZxUwKn+h+idMSnYn7OXFdDP0nV+72H9QhHq7ziqSfWByIKYOyTM5p1/2zykrr9RIp821bYb99yn06gO+V7S4GAOjaWNgLBK44bFAa26yZSxANYkG0j0I7dMzkHCPuMmtFwkuSwCsm6VKxk08VvvskbIPq08hgSOWHPLHGxzY/FOJvUgXp2emoj0zTDI/tn8m/glV5vGFT+bTYYnEazsqnCF+8pqwLIwkjXcf4NX3+O/errDn55bTLv0I4rmq2bvsMa5rDCllZ+fnEiG+kz9Fs9wxYW9VmTpWiqj0RBhJdlX+8yT+I8T12t9uETnYMra+AoZN3Fnz8VA2TjsGsNn3syW494DonMA+A94lVDhW7QemNQfMN3jekevImbwMJaEowO6i5ZCLuE6bIFaFy3pVO4h5hK+DzwZGfap4YyKXieygg5jfMLh6B/GqkX/dD9JXD6das4aShri9figycE6yYnHQ9jCDwZDWNhtqNVqcM8svE+pXS4V7OdGjHubzKI1ZQ3H/kI5o9GT0X9EW46f1dZwjmXiaz/SAl+mrLE+nexzubzz3kSXNidUKJ37yNqeEwYJeE19knKjXRbhE4NNlTA+dZHzUpUg1EcD4wvOUwnoU0yE2xuUqleSdqAT0/bxg3jiFXrX58je/BdFZLErENoeD7T0TGqQkYPE1mYJ0GrA== X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230025)(4636009)(396003)(376002)(346002)(39860400002)(136003)(451199018)(46966006)(36840700001)(40470700004)(2906002)(36756003)(82310400005)(336012)(4744005)(426003)(83380400001)(54906003)(47076005)(316002)(6666004)(7696005)(478600001)(1076003)(40460700003)(966005)(356005)(6286002)(26005)(6916009)(70206006)(186003)(70586007)(5660300002)(40480700001)(8936002)(4326008)(55016003)(8676002)(86362001)(36860700001)(41300700001)(82740400003)(7636003)(2616005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Feb 2023 15:35:54.7917 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 21fdd2ae-b5ff-4e02-2749-08db046a01f6 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000C982.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB6689 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 The both "RTE_COMP_ALGO_LIST_END" and "RTE_COMP_HASH_ALGO_LIST_END" are useless. This patch removes them from the library. Signed-off-by: Michael Baum --- lib/compressdev/rte_comp.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/compressdev/rte_comp.h b/lib/compressdev/rte_comp.h index a8f398b57b..5bd711fda1 100644 --- a/lib/compressdev/rte_comp.h +++ b/lib/compressdev/rte_comp.h @@ -109,7 +109,6 @@ enum rte_comp_algorithm { /**< LZS compression algorithm * https://tools.ietf.org/html/rfc2395 */ - RTE_COMP_ALGO_LIST_END }; /** Compression Hash Algorithms */ @@ -120,7 +119,6 @@ enum rte_comp_hash_algorithm { /**< SHA1 hash algorithm */ RTE_COMP_HASH_ALGO_SHA2_256, /**< SHA256 hash algorithm of SHA2 family */ - RTE_COMP_HASH_ALGO_LIST_END }; /**< Compression Level. -- 2.25.1