[Qemu-devel] [PATCH] gdbstub: Remove unused include

Philippe Mathieu-Daudé posted 1 patch 7 years ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20181012002113.2452-1-philmd@redhat.com
Test docker-clang@ubuntu passed
Test checkpatch passed
Test docker-quick@centos7 passed
Test docker-mingw@fedora passed
gdbstub.c | 1 -
1 file changed, 1 deletion(-)
[Qemu-devel] [PATCH] gdbstub: Remove unused include
Posted by Philippe Mathieu-Daudé 7 years ago
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 gdbstub.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gdbstub.c b/gdbstub.c
index c8478de8f5..c4e4f9f082 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -20,7 +20,6 @@
 #include "qapi/error.h"
 #include "qemu/error-report.h"
 #include "qemu/cutils.h"
-#include "cpu.h"
 #include "trace-root.h"
 #ifdef CONFIG_USER_ONLY
 #include "qemu.h"
-- 
2.17.1


Re: [Qemu-devel] [PATCH] gdbstub: Remove unused include
Posted by Thomas Huth 7 years ago
On 2018-10-12 02:21, Philippe Mathieu-Daudé wrote:
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
>  gdbstub.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/gdbstub.c b/gdbstub.c
> index c8478de8f5..c4e4f9f082 100644
> --- a/gdbstub.c
> +++ b/gdbstub.c
> @@ -20,7 +20,6 @@
>  #include "qapi/error.h"
>  #include "qemu/error-report.h"
>  #include "qemu/cutils.h"
> -#include "cpu.h"
>  #include "trace-root.h"
>  #ifdef CONFIG_USER_ONLY
>  #include "qemu.h"

Seems to work.

Tested-by: Thomas Huth <thuth@redhat.com>