OSDN Git Service

target/arm/kvm64.c: Remove unused include
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 25 Sep 2023 11:04:29 +0000 (12:04 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 19 Oct 2023 13:32:13 +0000 (14:32 +0100)
commit4fd79a96ea9149a7ea8fba5c0ea74ff5f9f02139
treeee1ec14b69bc5acb95ffdfed29645a0449154c68
parent3d80bbf1f619ad1a0db85bb385ce4f5f74e4b0a3
target/arm/kvm64.c: Remove unused include

The include of hw/arm/virt.h in kvm64.c is unnecessary and also a
layering violation since the generic KVM code shouldn't need to know
anything about board-specifics.  The include line is an accidental
leftover from commit 15613357ba53a4763, where we cleaned up the code
to not depend on virt board internals but forgot to also remove the
now-redundant include line.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20230925110429.3917202-1-peter.maydell@linaro.org
target/arm/kvm64.c