* [PATCH] soc: mediatek: mtk-dvfsrc: remove an unused variable
@ 2025-04-23 16:29 Arnd Bergmann
2025-04-24 7:15 ` AngeloGioacchino Del Regno
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2025-04-23 16:29 UTC (permalink / raw)
To: Matthias Brugger, AngeloGioacchino Del Regno
Cc: Arnd Bergmann, Georgi Djakov, linux-kernel, linux-arm-kernel,
linux-mediatek
From: Arnd Bergmann <arnd@arndb.de>
This structure was left unused by a previous patch:
drivers/soc/mediatek/mtk-dvfsrc.c:542:43: error: unused variable 'dvfsrc_bw_constr_mt8195' [-Werror,-Wunused-const-variable]
Fixes: b06785283ec1 ("soc: mediatek: mtk-dvfsrc: Rename and move bw constraints data")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/soc/mediatek/mtk-dvfsrc.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/soc/mediatek/mtk-dvfsrc.c b/drivers/soc/mediatek/mtk-dvfsrc.c
index 7b8486ce1c66..41add5636b03 100644
--- a/drivers/soc/mediatek/mtk-dvfsrc.c
+++ b/drivers/soc/mediatek/mtk-dvfsrc.c
@@ -539,12 +539,6 @@ static const struct dvfsrc_opp_desc dvfsrc_opp_mt8195_desc[] = {
}
};
-static const struct dvfsrc_bw_constraints dvfsrc_bw_constr_mt8195 = {
- .max_dram_nom_bw = 255,
- .max_dram_peak_bw = 255,
- .max_dram_hrt_bw = 1023,
-};
-
static const struct dvfsrc_soc_data mt8195_data = {
.opps_desc = dvfsrc_opp_mt8195_desc,
.regs = dvfsrc_mt8195_regs,
--
2.39.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] soc: mediatek: mtk-dvfsrc: remove an unused variable
2025-04-23 16:29 [PATCH] soc: mediatek: mtk-dvfsrc: remove an unused variable Arnd Bergmann
@ 2025-04-24 7:15 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 2+ messages in thread
From: AngeloGioacchino Del Regno @ 2025-04-24 7:15 UTC (permalink / raw)
To: Matthias Brugger, Arnd Bergmann
Cc: Arnd Bergmann, Georgi Djakov, linux-kernel, linux-arm-kernel,
linux-mediatek
On Wed, 23 Apr 2025 18:29:52 +0200, Arnd Bergmann wrote:
> This structure was left unused by a previous patch:
>
> drivers/soc/mediatek/mtk-dvfsrc.c:542:43: error: unused variable 'dvfsrc_bw_constr_mt8195' [-Werror,-Wunused-const-variable]
>
>
Applied to v6.15-next/soc, thanks!
[1/1] soc: mediatek: mtk-dvfsrc: remove an unused variable
commit: 69d63d19eda7792052f5f694f154898fc00d60ae
Cheers,
Angelo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-04-24 7:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-23 16:29 [PATCH] soc: mediatek: mtk-dvfsrc: remove an unused variable Arnd Bergmann
2025-04-24 7:15 ` AngeloGioacchino Del Regno
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).