From: David Marchand <david.marchand@redhat.com>
To: dev@dpdk.org
Cc: stable@dpdk.org, Hemant Agrawal <hemant.agrawal@nxp.com>,
Sachin Saxena <sachin.saxena@oss.nxp.com>,
Shreyansh Jain <shreyansh.jain@nxp.com>,
Roy Pledge <roy.pledge@nxp.com>,
Geoff Thorpe <geoff.thorpe@nxp.com>
Subject: [PATCH 03/11] bus/dpaa: fix build with clang 15
Date: Fri, 18 Nov 2022 09:53:05 +0100 [thread overview]
Message-ID: <20221118085313.2118977-4-david.marchand@redhat.com> (raw)
In-Reply-To: <20221118085313.2118977-1-david.marchand@redhat.com>
This variable is not used.
Fixes: f38f61e982f8 ("bus/dpaa: add BMAN hardware interfaces")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
drivers/bus/dpaa/base/qbman/bman.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/bus/dpaa/base/qbman/bman.h b/drivers/bus/dpaa/base/qbman/bman.h
index 21a6bee778..b2aa93e046 100644
--- a/drivers/bus/dpaa/base/qbman/bman.h
+++ b/drivers/bus/dpaa/base/qbman/bman.h
@@ -519,7 +519,6 @@ static inline int bm_shutdown_pool(struct bm_portal *p, u32 bpid)
struct bm_mc_command *bm_cmd;
struct bm_mc_result *bm_res;
- int aq_count = 0;
bool stop = false;
while (!stop) {
@@ -532,8 +531,7 @@ static inline int bm_shutdown_pool(struct bm_portal *p, u32 bpid)
if (!(bm_res->verb & BM_MCR_VERB_ACQUIRE_BUFCOUNT)) {
/* Pool is empty */
stop = true;
- } else
- ++aq_count;
+ }
};
return 0;
}
--
2.38.1
next prev parent reply other threads:[~2022-11-18 8:55 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20221118085313.2118977-1-david.marchand@redhat.com>
2022-11-18 8:53 ` [PATCH 01/11] service: " David Marchand
2022-11-18 14:47 ` Van Haaren, Harry
2022-11-18 8:53 ` [PATCH 02/11] vhost: " David Marchand
2022-11-18 10:23 ` Maxime Coquelin
2022-11-18 8:53 ` David Marchand [this message]
2022-11-18 8:53 ` [PATCH 04/11] net/atlantic: " David Marchand
2022-11-18 8:53 ` [PATCH 05/11] net/dpaa2: " David Marchand
2022-11-18 8:53 ` [PATCH 06/11] net/ice: " David Marchand
2022-11-18 8:53 ` [PATCH 07/11] app/testpmd: " David Marchand
2022-11-18 8:53 ` [PATCH 08/11] app/testpmd: fix build with clang 15 in flow code David Marchand
2022-11-18 8:53 ` [PATCH 09/11] test/efd: fix build with clang 15 David Marchand
2022-11-18 8:53 ` [PATCH 10/11] test/member: " David Marchand
2022-11-18 8:53 ` [PATCH 11/11] test/event: " David Marchand
2022-11-21 1:51 ` Gao, DaxueX
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=20221118085313.2118977-4-david.marchand@redhat.com \
--to=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=geoff.thorpe@nxp.com \
--cc=hemant.agrawal@nxp.com \
--cc=roy.pledge@nxp.com \
--cc=sachin.saxena@oss.nxp.com \
--cc=shreyansh.jain@nxp.com \
--cc=stable@dpdk.org \
/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).