[PATCH] arm64: Remove the unused include statements
Steven Price
steven.price at arm.com
Thu Sep 10 08:55:44 EDT 2020
On 09/09/2020 10:28, Tian Tao wrote:
> linux/arm-smccc.h is included more than once, Remove the one that isn't
> necessary.
>
> Signed-off-by: Tian Tao <tiantao6 at hisilicon.com>
Reviewed-by: Steven Price <steven.price at arm.com>
> ---
> arch/arm64/kernel/cpu_errata.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/arm64/kernel/cpu_errata.c b/arch/arm64/kernel/cpu_errata.c
> index c332d49..9df3f9b 100644
> --- a/arch/arm64/kernel/cpu_errata.c
> +++ b/arch/arm64/kernel/cpu_errata.c
> @@ -169,8 +169,6 @@ static void install_bp_hardening_cb(bp_hardening_cb_t fn,
> }
> #endif /* CONFIG_KVM_INDIRECT_VECTORS */
>
> -#include <linux/arm-smccc.h>
> -
> static void __maybe_unused call_smc_arch_workaround_1(void)
> {
> arm_smccc_1_1_smc(ARM_SMCCC_ARCH_WORKAROUND_1, NULL);
>
More information about the linux-arm-kernel
mailing list