linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: Remove the unused include statements
@ 2020-09-09  9:28 Tian Tao
  2020-09-10 12:55 ` Steven Price
  2020-09-11 16:33 ` Will Deacon
  0 siblings, 2 replies; 3+ messages in thread
From: Tian Tao @ 2020-09-09  9:28 UTC (permalink / raw)
  To: catalin.marinas, will, maz, saiprakash.ranjan, suzuki.poulose,
	steven.price, f.fainelli, broonie, james.morse, mark.rutland,
	ascull, linux-arm-kernel
  Cc: linuxarm

linux/arm-smccc.h is included more than once, Remove the one that isn't
necessary.

Signed-off-by: Tian Tao <tiantao6@hisilicon.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);
-- 
2.7.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm64: Remove the unused include statements
  2020-09-09  9:28 [PATCH] arm64: Remove the unused include statements Tian Tao
@ 2020-09-10 12:55 ` Steven Price
  2020-09-11 16:33 ` Will Deacon
  1 sibling, 0 replies; 3+ messages in thread
From: Steven Price @ 2020-09-10 12:55 UTC (permalink / raw)
  To: Tian Tao, catalin.marinas, will, maz, saiprakash.ranjan,
	suzuki.poulose, f.fainelli, broonie, james.morse, mark.rutland,
	ascull, linux-arm-kernel
  Cc: linuxarm

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@hisilicon.com>

Reviewed-by: Steven Price <steven.price@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);
> 


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm64: Remove the unused include statements
  2020-09-09  9:28 [PATCH] arm64: Remove the unused include statements Tian Tao
  2020-09-10 12:55 ` Steven Price
@ 2020-09-11 16:33 ` Will Deacon
  1 sibling, 0 replies; 3+ messages in thread
From: Will Deacon @ 2020-09-11 16:33 UTC (permalink / raw)
  To: mark.rutland, suzuki.poulose, steven.price, ascull, broonie, maz,
	james.morse, linux-arm-kernel, saiprakash.ranjan,
	catalin.marinas, Tian Tao, f.fainelli
  Cc: Will Deacon, kernel-team, linuxarm

On Wed, 9 Sep 2020 17:28:02 +0800, Tian Tao wrote:
> linux/arm-smccc.h is included more than once, Remove the one that isn't
> necessary.

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: Remove the unused include statements
      https://git.kernel.org/arm64/c/2a4931321461

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-11 16:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-09  9:28 [PATCH] arm64: Remove the unused include statements Tian Tao
2020-09-10 12:55 ` Steven Price
2020-09-11 16:33 ` Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).