diff mbox series

LoongArch: KVM: remove unnecessary header include path

Message ID 20250210102148.1516651-1-masahiroy@kernel.org (mailing list archive)
State New
Headers show
Series LoongArch: KVM: remove unnecessary header include path | expand

Commit Message

Masahiro Yamada Feb. 10, 2025, 10:21 a.m. UTC
arch/loongarch/kvm/ includes local headers with the double-quote form
(#include "..."). Also, TRACE_INCLUDE_PATH in arch/loongarch/kvm/trace.h
is relative to include/trace/.

Hence, the local header search path is unneeded.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 arch/loongarch/kvm/Makefile | 2 --
 1 file changed, 2 deletions(-)

Comments

Bibo Mao Feb. 11, 2025, 12:14 p.m. UTC | #1
On 2025/2/10 下午6:21, Masahiro Yamada wrote:
> arch/loongarch/kvm/ includes local headers with the double-quote form
> (#include "..."). Also, TRACE_INCLUDE_PATH in arch/loongarch/kvm/trace.h
> is relative to include/trace/.
> 
> Hence, the local header search path is unneeded.
> 
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> ---
> 
>   arch/loongarch/kvm/Makefile | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/arch/loongarch/kvm/Makefile b/arch/loongarch/kvm/Makefile
> index 3a01292f71cc..f4c8e35c216a 100644
> --- a/arch/loongarch/kvm/Makefile
> +++ b/arch/loongarch/kvm/Makefile
> @@ -3,8 +3,6 @@
>   # Makefile for LoongArch KVM support
>   #
>   
> -ccflags-y += -I $(src)
> -
>   include $(srctree)/virt/kvm/Makefile.kvm
>   
>   obj-$(CONFIG_KVM) += kvm.o
> 
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
diff mbox series

Patch

diff --git a/arch/loongarch/kvm/Makefile b/arch/loongarch/kvm/Makefile
index 3a01292f71cc..f4c8e35c216a 100644
--- a/arch/loongarch/kvm/Makefile
+++ b/arch/loongarch/kvm/Makefile
@@ -3,8 +3,6 @@ 
 # Makefile for LoongArch KVM support
 #
 
-ccflags-y += -I $(src)
-
 include $(srctree)/virt/kvm/Makefile.kvm
 
 obj-$(CONFIG_KVM) += kvm.o