Commit e1f99e0b authored by Yunhui Cui's avatar Yunhui Cui Committed by Greg Kroah-Hartman
Browse files

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: default avatarYunhui Cui <cuiyunhui@bytedance.com>
Reviewed-by: default avatarJeremy Linton <jeremy.linton@arm.com>
Reviewed-by: default avatarSudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20240617131425.7526-1-cuiyunhui@bytedance.com


Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
Stable-dep-of: fb8179ce ("riscv: cacheinfo: Use of_property_present() for non-boolean properties")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 017df7c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment