riscv: cacheinfo: remove the useless input parameter (node) of ci_leaf_init()
[ Upstream commit ee3fab10 ] ci_leaf_init() is a declared static function. The implementation of the function body and the caller do not use the parameter (struct device_node *node) input parameter, so remove it. Fixes: 6a249151 ("Revert "riscv: Set more data to cacheinfo"") Signed-off-by:Yunhui Cui <cuiyunhui@bytedance.com> Reviewed-by:
Jeremy Linton <jeremy.linton@arm.com> Reviewed-by:
Sudeep Holla <sudeep.holla@arm.com> Link: https://lore.kernel.org/r/20240617131425.7526-1-cuiyunhui@bytedance.com Signed-off-by:
Palmer Dabbelt <palmer@rivosinc.com> Stable-dep-of: fb8179ce ("riscv: cacheinfo: Use of_property_present() for non-boolean properties") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment