diff mbox series

[2/5] tcg/tcg-op-gvec: Remove unused "qemu/main-loop.h" header

Message ID 20221219170806.60580-3-philmd@linaro.org
State Superseded
Headers show
Series exec: QAPI housekeeping for user emulation | expand

Commit Message

Philippe Mathieu-Daudé Dec. 19, 2022, 5:08 p.m. UTC
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
Added in db72581598 ("Include qemu/main-loop.h less") but now
I can't see what is requiring it.

I checked 'git diff db725815985..origin/master -- tcg/tcg-op-gvec.c'
to see if some code was removed without removing the header;
I haven't checked individual commits.
---
 tcg/tcg-op-gvec.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Richard Henderson Dec. 19, 2022, 6:40 p.m. UTC | #1
On 12/19/22 09:08, Philippe Mathieu-Daudé wrote:
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
> Added in db72581598 ("Include qemu/main-loop.h less") but now
> I can't see what is requiring it.
> 
> I checked 'git diff db725815985..origin/master -- tcg/tcg-op-gvec.c'
> to see if some code was removed without removing the header;
> I haven't checked individual commits.
> ---
>   tcg/tcg-op-gvec.c | 1 -
>   1 file changed, 1 deletion(-)

I can only imagine that it was cut-and-paste.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~

> 
> diff --git a/tcg/tcg-op-gvec.c b/tcg/tcg-op-gvec.c
> index 079a761b04..aacedd3e15 100644
> --- a/tcg/tcg-op-gvec.c
> +++ b/tcg/tcg-op-gvec.c
> @@ -21,7 +21,6 @@
>   #include "tcg/tcg.h"
>   #include "tcg/tcg-op.h"
>   #include "tcg/tcg-op-gvec.h"
> -#include "qemu/main-loop.h"
>   #include "tcg/tcg-gvec-desc.h"
>   
>   #define MAX_UNROLL  4
diff mbox series

Patch

diff --git a/tcg/tcg-op-gvec.c b/tcg/tcg-op-gvec.c
index 079a761b04..aacedd3e15 100644
--- a/tcg/tcg-op-gvec.c
+++ b/tcg/tcg-op-gvec.c
@@ -21,7 +21,6 @@ 
 #include "tcg/tcg.h"
 #include "tcg/tcg-op.h"
 #include "tcg/tcg-op-gvec.h"
-#include "qemu/main-loop.h"
 #include "tcg/tcg-gvec-desc.h"
 
 #define MAX_UNROLL  4