]> www.infradead.org Git - users/jedix/linux-maple.git/commit
riscv: cacheinfo: remove the useless input parameter (node) of ci_leaf_init()
authorYunhui Cui <cuiyunhui@bytedance.com>
Mon, 17 Jun 2024 13:14:23 +0000 (21:14 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 24 Jul 2024 14:39:35 +0000 (07:39 -0700)
commitee3fab10cb1566562aa683f319066eaeecccf918
tree5261acf8827910856b11093dc2d513bccf4667d7
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
riscv: cacheinfo: remove the useless input parameter (node) of ci_leaf_init()

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: 6a24915145c9 ("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>
arch/riscv/kernel/cacheinfo.c