qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] [PATCH 02/13] target: arm: Remove unused headers


From: Philippe Mathieu-Daudé
Subject: Re: [Qemu-arm] [PATCH 02/13] target: arm: Remove unused headers
Date: Tue, 13 Nov 2018 19:02:57 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0

On 13/11/18 18:01, Peter Maydell wrote:
On 13 November 2018 at 16:52, Samuel Ortiz <address@hidden> wrote:
From: Philippe Mathieu-Daudé <address@hidden>

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Robert Bradford <address@hidden>
Reviewed-by: Samuel Ortiz <address@hidden>
---
  target/arm/helper.c | 3 ---
  1 file changed, 3 deletions(-)

diff --git a/target/arm/helper.c b/target/arm/helper.c
index 3d4e9c5c8a..27d9285e1e 100644
--- a/target/arm/helper.c
+++ b/target/arm/helper.c
@@ -12,13 +12,10 @@
  #include "internals.h"
  #include "exec/gdbstub.h"
  #include "exec/helper-proto.h"
-#include "qemu/host-utils.h"

This is for muldiv64().

But it is already included by "cpu.h" -> "exec/cpu-defs.h"


  #include "sysemu/arch_init.h"
  #include "sysemu/sysemu.h"
-#include "qemu/bitops.h"

"cpu.h" -> "cpu-qom.h" -> "qom/cpu.h" -> "qemu/bitmap.h"


This is for extract32() and friends.

  #include "qemu/crc32c.h"
  #include "exec/exec-all.h"
-#include "exec/cpu_ldst.h"

This is for cpu_stl_data().

Included by "arm_ldst.h"


  #include "arm_ldst.h"
  #include <zlib.h> /* For crc32 */
  #include "exec/semihost.h"

So they are not "unused" but "unnecessary".

I thought this would be better to clean this once, before Samuel split.

Samuel: please drop this patch from your series.

Thanks,

Phil.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]