gdbstub: Remove unused include

Message ID 20181012002113.2452-1-philmd@redhat.com
State New
Headers show
Series
  • gdbstub: Remove unused include
Related show

Commit Message

Philippe Mathieu-Daudé Oct. 12, 2018, 12:21 a.m.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
 gdbstub.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Thomas Huth Oct. 12, 2018, 7:09 a.m. | #1
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>

Patch

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"