patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Radha Chintakuntla <radhac@marvell.com>
To: Xueming Li <xuemingl@nvidia.com>,
	Veerasenareddy Burru <vburru@marvell.com>,
	Luca Boccassi <bluca@debian.org>
Cc: "stable@dpdk.org" <stable@dpdk.org>
Subject: RE: [EXT] [[PATCH 20.11]] raw/octeontx2_ep: remove unused variable
Date: Mon, 6 Dec 2021 17:26:59 +0000	[thread overview]
Message-ID: <CO1PR18MB4732A59982040D9351B45E79C56D9@CO1PR18MB4732.namprd18.prod.outlook.com> (raw)
In-Reply-To: <20211206074255.484458-1-xuemingl@nvidia.com>


> -----Original Message-----
> From: Xueming Li <xuemingl@nvidia.com>
> Sent: Sunday, December 5, 2021 11:43 PM
> To: Radha Chintakuntla <radhac@marvell.com>; Veerasenareddy Burru
> <vburru@marvell.com>; Luca Boccassi <bluca@debian.org>
> Cc: xuemingl@nvidia.com; stable@dpdk.org
> Subject: [EXT] [[PATCH 20.11]] raw/octeontx2_ep: remove unused variable
> 
> External Email
> 
> ----------------------------------------------------------------------
> 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

Acked-by: Radha Mohan Chintakuntla <radhac@marvell.com>


      reply	other threads:[~2021-12-06 17:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-06  7:42 Xueming Li
2021-12-06 17:26 ` Radha Chintakuntla [this message]

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=CO1PR18MB4732A59982040D9351B45E79C56D9@CO1PR18MB4732.namprd18.prod.outlook.com \
    --to=radhac@marvell.com \
    --cc=bluca@debian.org \
    --cc=stable@dpdk.org \
    --cc=vburru@marvell.com \
    --cc=xuemingl@nvidia.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).