bus/dpaa: fix build with clang 15
This variable is not used.
Fixes: f38f61e982
("bus/dpaa: add BMAN hardware interfaces")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
This commit is contained in:
parent
6546b60733
commit
6d58990561
@ -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_command *bm_cmd;
|
||||||
struct bm_mc_result *bm_res;
|
struct bm_mc_result *bm_res;
|
||||||
|
|
||||||
int aq_count = 0;
|
|
||||||
bool stop = false;
|
bool stop = false;
|
||||||
|
|
||||||
while (!stop) {
|
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)) {
|
if (!(bm_res->verb & BM_MCR_VERB_ACQUIRE_BUFCOUNT)) {
|
||||||
/* Pool is empty */
|
/* Pool is empty */
|
||||||
stop = true;
|
stop = true;
|
||||||
} else
|
}
|
||||||
++aq_count;
|
|
||||||
};
|
};
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user