summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTian Tao <tiantao6@hisilicon.com>2020-09-09 12:28:02 +0300
committerWill Deacon <will@kernel.org>2020-09-11 19:28:36 +0300
commit2a493132146152c21587414d96ba9026e43acc3d (patch)
tree745fa18c5b01089cdc61caf004ba5f588da211df
parent120dc60d0bdbadcad7460222f74c9ed15cdeb73e (diff)
downloadlinux-2a493132146152c21587414d96ba9026e43acc3d.tar.xz
arm64: Remove the unused include statements
linux/arm-smccc.h is included more than once, Remove the one that isn't necessary. Signed-off-by: Tian Tao <tiantao6@hisilicon.com> Reviewed-by: Steven Price <steven.price@arm.com> Link: https://lore.kernel.org/r/1599643682-10404-1-git-send-email-tiantao6@hisilicon.com Signed-off-by: Will Deacon <will@kernel.org>
-rw-r--r--arch/arm64/kernel/cpu_errata.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/kernel/cpu_errata.c b/arch/arm64/kernel/cpu_errata.c
index c332d49780dc..9df3f9bb7950 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);