]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: s390: remove useless include
authorClaudio Imbrenda <imbrenda@linux.ibm.com>
Tue, 2 Jul 2024 15:56:06 +0000 (17:56 +0200)
committerJanosch Frank <frankja@linux.ibm.com>
Wed, 3 Jul 2024 11:35:58 +0000 (13:35 +0200)
commit98f770389f46663b828c296e2e4220dd0018f7eb
tree99f32bd6968d136031c282fe972fdde112c5558c
parentc3f38fa61af77b49866b006939479069cd451173
KVM: s390: remove useless include

arch/s390/include/asm/kvm_host.h includes linux/kvm_host.h, but
linux/kvm_host.h includes asm/kvm_host.h .

It turns out that arch/s390/include/asm/kvm_host.h only needs
linux/kvm_types.h, which it already includes.

Stop including linux/kvm_host.h from arch/s390/include/asm/kvm_host.h .

Due to the #ifdef guards, the code works as it is today, but it's ugly
and it will get in the way of future patches.

Signed-off-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Nico Boehr <nrb@linux.ibm.com>
Link: https://lore.kernel.org/r/20240702155606.71398-1-imbrenda@linux.ibm.com
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Message-ID: <20240702155606.71398-1-imbrenda@linux.ibm.com>
arch/s390/include/asm/kvm_host.h