Skip to content
Commit bfe3f0df authored by Youwan Wang's avatar Youwan Wang Committed by Catalin Marinas
Browse files

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: default avatarYouwan Wang <youwan@nfschina.com>
Acked-by: default avatarSudeep Holla <sudeep.holla@arm.com>
Acked-by: default avatarHanjun Guo <guohanjun@huawei.com>
Link: https://lore.kernel.org/r/20240624023101.369633-1-youwan@nfschina.com


Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 7a7a1cac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment