Skip to content

Commit 69d63d1

Browse files
arndbAngeloGioacchino Del Regno
authored andcommitted
soc: mediatek: mtk-dvfsrc: remove an unused variable
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: b067852 ("soc: mediatek: mtk-dvfsrc: Rename and move bw constraints data") Signed-off-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: AngeloGioacchino Del Regno <[email protected]>
1 parent e5ea181 commit 69d63d1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/soc/mediatek/mtk-dvfsrc.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -539,12 +539,6 @@ static const struct dvfsrc_opp_desc dvfsrc_opp_mt8195_desc[] = {
539539
}
540540
};
541541

542-
static const struct dvfsrc_bw_constraints dvfsrc_bw_constr_mt8195 = {
543-
.max_dram_nom_bw = 255,
544-
.max_dram_peak_bw = 255,
545-
.max_dram_hrt_bw = 1023,
546-
};
547-
548542
static const struct dvfsrc_soc_data mt8195_data = {
549543
.opps_desc = dvfsrc_opp_mt8195_desc,
550544
.regs = dvfsrc_mt8195_regs,

0 commit comments

Comments
 (0)