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 30EDDA0C41 for ; Mon, 6 Dec 2021 08:43:20 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0013A40040; Mon, 6 Dec 2021 08:43:19 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2046.outbound.protection.outlook.com [40.107.243.46]) by mails.dpdk.org (Postfix) with ESMTP id 508C040040 for ; Mon, 6 Dec 2021 08:43:18 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dyTG+zXZfSnQOiAjI3GqsUHk8zMfQnUNpUx0yS5yguIdexWXj9f7hUYutUqQP0ZlCxDFJ76EWGPZ69leLNr2WpMRIbs7OlzLcmfU3a+8sNuD/7wywkhJecqadO3pC+lsAKwk+7PKpzsuCAcoh+YPsT7QCX+1US5tISxp7Ia/MtWC42LNMKrs4FZYTa/8VE5/qzL6LYUDpojXS2yFPUPhk27BcXPtWzujkjVfoOw5YLEpZV15G0zR2iJaYL/yw25cv6bCuy/qBvFyd3YooKQTmHavYvT6q3tgKgWC1n10O8iRYeVN1R+RpeAwq4D500l437YJ+aUa+s3aKTI2osZsBw== 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=sZ7fZgMGI3AEn8gbtpDoI7xDIyy5hK37BHb8FwkPE0U=; b=cdcEh3aGb7ksnnYN569zjAQ/diA6DWUWac5h+pbLdCFe2vcbQC2/CeM7AQlUhqFqJD0gENxfPHQr5avBUFduNgDXxRPlTO/FOhAoIkd8p/JXOyFMW2vb3lhfEicigHD2as7jM8RGCpz70/3iJyUFrG83gumI22mV6W6tRwoAWWD5skHgy31b6+y/dDyIf5VqZdIiUmiEh41Y24D5gaGfP+m6YVpaJeeS8374Dw3vLVuGl4GrBwmVPtQveuAFUeTQvRGIxqTEwAN+Nq0UpveIH3mRZZ5ojS+E0GzLSNdOY0lJpIStpOjWaC0itcLQhXdwCdhAsR4v86E+nqQzKm3i7g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=debian.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine 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=sZ7fZgMGI3AEn8gbtpDoI7xDIyy5hK37BHb8FwkPE0U=; b=PDAcGX7mEExel6NoCLiXivpsmGfQ0/CZZOpTfU6eLjSKQei0tx2hZSHzjxSXsd/LLO6XYBI48vZodtiZaqFwkOP1m3vQaKff8n+9jGMqfHRUOp1S755wKNIdqSVEOH1Y1tSTjqbZn4MugvBFCjCeQSGSx6cJwdNpbo2nPGGl5243nmoXS2e6xdEcX17cjjd241Ga0KUoxi698dWUuu4TszwFbUGB8XIqfdDeRiY5FC99TN7ztxhNUIoTYEcI2rSQwqoxlmXa567vz3S7HPAQ0fdJKUdDFDwSDkZOtvTwZoIaHMivz55V2yHzi5Bf9UKEBMa+vnakUScuXjsPIOLL2A== Received: from MWHPR21CA0041.namprd21.prod.outlook.com (2603:10b6:300:129::27) by DM5PR12MB1595.namprd12.prod.outlook.com (2603:10b6:4:3::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.11; Mon, 6 Dec 2021 07:43:15 +0000 Received: from CO1NAM11FT029.eop-nam11.prod.protection.outlook.com (2603:10b6:300:129:cafe::96) by MWHPR21CA0041.outlook.office365.com (2603:10b6:300:129::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4801.4 via Frontend Transport; Mon, 6 Dec 2021 07:43:15 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) 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.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by CO1NAM11FT029.mail.protection.outlook.com (10.13.174.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4755.13 via Frontend Transport; Mon, 6 Dec 2021 07:43:15 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Mon, 6 Dec 2021 07:43:14 +0000 Received: from nvidia.com (172.20.187.5) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.986.9; Sun, 5 Dec 2021 23:43:12 -0800 From: Xueming Li To: Radha Mohan Chintakuntla , Veerasenareddy Burru , Luca Boccassi CC: , Subject: [[PATCH 20.11]] raw/octeontx2_ep: remove unused variable Date: Mon, 6 Dec 2021 15:42:55 +0800 Message-ID: <20211206074255.484458-1-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c8f774be-7668-4c30-4e0b-08d9b88c100a X-MS-TrafficTypeDiagnostic: DM5PR12MB1595:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3044; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WfLgkheAMvXb06VxRj7q2duAC488Y+NTbZSeG38w82jKAG1oevn3CN9H2QG2xKeMl36xgj2y8tDZSDxCYT62hsXhtkXxIVcoEl7FXxg9FHcmEPiu0V1AeoVyXTKEQq4oeR+C+JQTlix7RyJ0hzdUf2/n3FzG83vxuSfjqZd+C8NO/BOqSe+0NYTs3i4lqEREaz81NHDvqVXgBHfneqKEgp3zyJjWTONwqncmf3QT2hq/5quoDAfGKm9SNMxAAWUxM022OHPgj5qN8lrdkrVglEszCL7QvQKj9Iy7rsDoE7zQulu5WLpCmRM0tLX7DyhuNe8P7CX41MKwXZpktt1O1SWbWrWdpriJO99iTQgCOoob3nsXvjHRj95sl3P357tYL5ByoKSIEkOFWAccp5kbYkcGuyQTx0oszXsCZ09VT3ljXFWF04FbOoTLfc8+/a+I/YellPoKznTWWyVdmNEV4zcx9IZkzleQ3cAFlpEPXuGiSjArY9UqQBW7b1lBwz+BI7QuN9GBS8tG79FiMMOqgL5cy1sH4LjPYnR6LuozR0Psj8qzFxOeqgw1NYBT29BE+3B4QHkzEeUDpd6kQTpxo32RMu+XGgHUvSYGINj0jtQUkYqiWTNj7gliU3xKI7y99m7Cxs63gkYlI2cia8yZFyLqZ1IWlmRxe0wnFrdhVjGwo4Ls5ESG3mOl++VU8Ewwq58hrwdhvh4n8/LaDC+af3jiydKZAGhm+4uwCVMtQaer3yUAOM8EJFyiPZyEd5HWMHy+8ZzS1FBhmZTAf7LHXQ== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(40470700001)(70206006)(70586007)(83380400001)(110136005)(40460700001)(6666004)(8676002)(55016003)(2906002)(316002)(82310400004)(4326008)(26005)(54906003)(47076005)(508600001)(7696005)(36756003)(86362001)(1076003)(36860700001)(336012)(186003)(7636003)(2616005)(8936002)(6286002)(426003)(356005)(16526019)(5660300002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Dec 2021 07:43:15.2741 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c8f774be-7668-4c30-4e0b-08d9b88c100a X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT029.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1595 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Removes unused variable reported by clang compiler. Fixes: b848f0416acb ("raw/octeontx2_ep: add dequeue operation") Cc: stable@dpdk.org Signed-off-by: Xueming Li --- This PMD driver has been removed in upstream, 20.11 only patch --- drivers/raw/octeontx2_ep/otx2_ep_enqdeq.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/raw/octeontx2_ep/otx2_ep_enqdeq.c b/drivers/raw/octeontx2_ep/otx2_ep_enqdeq.c index d04e957d82..31459c182e 100644 --- a/drivers/raw/octeontx2_ep/otx2_ep_enqdeq.c +++ b/drivers/raw/octeontx2_ep/otx2_ep_enqdeq.c @@ -694,7 +694,6 @@ sdp_droq_read_packet(struct sdp_device *sdpvf __rte_unused, struct sdp_droq_pkt *droq_pkt) { struct sdp_droq_info *info; - uint32_t total_len = 0; uint32_t pkt_len = 0; info = &droq->info_list[droq->read_idx]; @@ -706,7 +705,6 @@ sdp_droq_read_packet(struct sdp_device *sdpvf __rte_unused, /* Deduce the actual data size */ info->length -= SDP_RH_SIZE; - total_len += (uint32_t)info->length; otx2_sdp_dbg("OQ: pkt_len[%ld], buffer_size %d", (long)info->length, droq->buffer_size); -- 2.34.0