hw/arm/xen-pvh: Remove unnecessary 'hw/xen/arch_hvm.h' header
PATCH v2 1/1 hw/arm/xen-pvh: Remove unnecessary 'hw/xen/arch_hvm.h' header
"hw/xen/arch_hvm.h" only declares the arch_handle_ioreq() and arch_xen_set_memory() prototypes, which are not used by xen-pvh.c. Remove the unnecessary header inclusion.
---
Based-on: <[email protected]>
--- hw/arm/xen-pvh.c | 1 - 1 file changed, 1 deletion(-)
hw/arm/xen-pvh.c +0 -1
@@ -10,7 +10,6 @@#include "hw/boards.h" #include "system/system.h" #include "hw/xen/xen-pvh-common.h" -#include "hw/xen/arch_hvm.h" #define TYPE_XEN_ARM MACHINE_TYPE_NAME("xenpvh")
Signature · 1 line
2.49.0
Quoted 6 lines · Philippe Mathieu-Daudé
"
hw/xen/arch_hvm.h" only declares thearch_handle_ioreq()andarch_xen_set_memory()prototypes, which are not used byxen-pvh.c. Remove the unnecessary header inclusion.Cc Xiaoyao Li <[email protected]>Signed-off-by Philippe Mathieu-Daudé <[email protected]>
Quoted 18 lines
---
Based-on: <[email protected]>--- hw/arm/xen-pvh.c | 1 - 1 file changed, 1 deletion(-)hw/arm/xen-pvh.c +0
-1@@ -10,7 +10,6 @@#include "hw/boards.h" #include "system/system.h" #include "hw/xen/xen-pvh-common.h" -#include "hw/xen/arch_hvm.h" #define TYPE_XEN_ARM MACHINE_TYPE_NAME("xenpvh")
Quoted 26 lines · Philippe Mathieu-Daudé
"
hw/xen/arch_hvm.h" only declares thearch_handle_ioreq()andarch_xen_set_memory()prototypes, which are not used byxen-pvh.c. Remove the unnecessary header inclusion.Cc Xiaoyao Li <[email protected]>Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
Based-on: <[email protected]>--- hw/arm/xen-pvh.c | 1 - 1 file changed, 1 deletion(-)hw/arm/xen-pvh.c +0
-2@@ -10,7 +10,6 @@#include "hw/boards.h" #include "system/system.h" #include "hw/xen/xen-pvh-common.h" -#include "hw/xen/arch_hvm.h" #define TYPE_XEN_ARM MACHINE_TYPE_NAME("xenpvh") --
Quoted 3 lines
2.49.0
Philippe Mathieu-Daudé
AppliedQuoted 11 lines · Philippe Mathieu-Daudé
"
hw/xen/arch_hvm.h" only declares thearch_handle_ioreq()andarch_xen_set_memory()prototypes, which are not used byxen-pvh.c. Remove the unnecessary header inclusion.Cc Xiaoyao Li <[email protected]>Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
Based-on: <[email protected]>--- hw/arm/xen-pvh.c | 1 - 1 file changed, 1 deletion(-)
Queued, thanks.