summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/acpi.c
diff options
context:
space:
mode:
authorYouwan Wang <youwan@nfschina.com>2024-06-24 10:31:01 +0800
committerCatalin Marinas <catalin.marinas@arm.com>2024-06-24 18:36:07 +0100
commitbfe3f0df3e3c0afdbe147d2479fe9aee4d0683e9 (patch)
tree4b403152ddede0c9101e9a3545ae522b289f1b62 /arch/arm64/kernel/acpi.c
parent7a7a1cac3c2f5e3c859efb295bad3469e09e6f8f (diff)
downloadlwn-bfe3f0df3e3c0afdbe147d2479fe9aee4d0683e9.tar.gz
lwn-bfe3f0df3e3c0afdbe147d2479fe9aee4d0683e9.zip
ACPI / amba: Drop unnecessary check for registered amba_dummy_clk
amba_register_dummy_clk() is called only once from acpi_amba_init() and acpi_amba_init() itself is called once during the initialisation. amba_dummy_clk can't be initialised before this in any other code path and hence the check for already registered amba_dummy_clk is not necessary. Drop the same. Signed-off-by: Youwan Wang <youwan@nfschina.com> Acked-by: Sudeep Holla <sudeep.holla@arm.com> Acked-by: Hanjun Guo <guohanjun@huawei.com> Link: https://lore.kernel.org/r/20240624023101.369633-1-youwan@nfschina.com Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel/acpi.c')
0 files changed, 0 insertions, 0 deletions