From: Xueming Li <xuemingl@nvidia.com>
To: Radha Mohan Chintakuntla <radhac@marvell.com>,
Veerasenareddy Burru <vburru@marvell.com>,
Luca Boccassi <bluca@debian.org>
Cc: <xuemingl@nvidia.com>, <stable@dpdk.org>
Subject: [[PATCH 20.11]] raw/octeontx2_ep: remove unused variable
Date: Mon, 6 Dec 2021 15:42:55 +0800 [thread overview]
Message-ID: <20211206074255.484458-1-xuemingl@nvidia.com> (raw)
Removes unused variable reported by clang compiler.
Fixes: b848f0416acb ("raw/octeontx2_ep: add dequeue operation")
Cc: stable@dpdk.org
Signed-off-by: Xueming Li <xuemingl@nvidia.com>
---
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
next reply other threads:[~2021-12-06 7:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-06 7:42 Xueming Li [this message]
2021-12-06 17:26 ` [EXT] " Radha Chintakuntla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211206074255.484458-1-xuemingl@nvidia.com \
--to=xuemingl@nvidia.com \
--cc=bluca@debian.org \
--cc=radhac@marvell.com \
--cc=stable@dpdk.org \
--cc=vburru@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).