patch 'bus/dpaa: remove unused variable' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 13:59:35 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.11.5
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/08/26. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.
Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/bcb77547d9b292bc34c64325d039ac60ff0b062a
Thanks.
Kevin
---
>From bcb77547d9b292bc34c64325d039ac60ff0b062a Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen at networkplumber.org>
Date: Sat, 29 Aug 2026 08:44:46 -0700
Subject: [PATCH] bus/dpaa: remove unused variable
[ upstream commit 030565d82a78b400a0be4dcdbc6561572d49857b ]
The driver was recording the clock frequency and never using it.
clang 23 reports:
qman_driver.c:27:12: warning: variable 'qman_clk' set but not used
[-Wunused-but-set-global]
Remove the variable and the dead store.
Fixes: f6fadc3e6310 ("bus/dpaa: add QMAN interface driver")
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Acked-by: Hemant Agrawal <hemant.agrawal at nxp.com>
Acked-by: David Marchand <david.marchand at redhat.com>
---
drivers/bus/dpaa/base/qbman/qman_driver.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/bus/dpaa/base/qbman/qman_driver.c b/drivers/bus/dpaa/base/qbman/qman_driver.c
index 1852f41dea..e253522e33 100644
--- a/drivers/bus/dpaa/base/qbman/qman_driver.c
+++ b/drivers/bus/dpaa/base/qbman/qman_driver.c
@@ -24,6 +24,4 @@ u16 qm_channel_pme = QMAN_CHANNEL_PME;
/* Ccsr map address to access ccsrbased register */
static void *qman_ccsr_map;
-/* The qman clock frequency */
-static u32 qman_clk;
static __thread int qmfd = -1;
@@ -372,6 +370,4 @@ int qman_global_init(void)
if (!clk)
pr_warn("Can't find Qman clock frequency\n");
- else
- qman_clk = be32_to_cpu(*clk);
#ifdef CONFIG_FSL_QMAN_FQ_LOOKUP
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:40.718058347 +0000
+++ 0049-bus-dpaa-remove-unused-variable.patch 2026-12-03 12:52:39.046899844 +0000
@@ -1 +1 @@
-From 030565d82a78b400a0be4dcdbc6561572d49857b Mon Sep 17 00:00:00 2001
+From bcb77547d9b292bc34c64325d039ac60ff0b062a Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 030565d82a78b400a0be4dcdbc6561572d49857b ]
+
@@ -16 +17,0 @@
-Cc: stable at dpdk.org
@@ -26 +27 @@
-index 45b094e0c6..bbe2640c52 100644
+index 1852f41dea..e253522e33 100644
More information about the stable
mailing list