diff mbox series

[03/10] target/loongarch/cpu: Remove unused "sysbus.h" header

Message ID 20221216220539.7065-4-philmd@linaro.org
State New
Headers show
Series target/misc: Header cleanups around "cpu.h" | expand

Commit Message

Philippe Mathieu-Daudé Dec. 16, 2022, 10:05 p.m. UTC
Nothing requires SysBus declarations here.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 target/loongarch/cpu.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Richard Henderson Dec. 17, 2022, 12:34 a.m. UTC | #1
On 12/16/22 14:05, Philippe Mathieu-Daudé wrote:
> Nothing requires SysBus declarations here.
> 
> Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
> ---
>   target/loongarch/cpu.h | 1 -
>   1 file changed, 1 deletion(-)

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

r~
Bernhard Beschow Dec. 17, 2022, 12:26 p.m. UTC | #2
Am 16. Dezember 2022 22:05:32 UTC schrieb "Philippe Mathieu-Daudé" <philmd@linaro.org>:
>Nothing requires SysBus declarations here.
>
>Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
>---
> target/loongarch/cpu.h | 1 -
> 1 file changed, 1 deletion(-)
>
>diff --git a/target/loongarch/cpu.h b/target/loongarch/cpu.h
>index e15c633b0b..c8612f5466 100644
>--- a/target/loongarch/cpu.h
>+++ b/target/loongarch/cpu.h
>@@ -13,7 +13,6 @@
> #include "hw/registerfields.h"
> #include "qemu/timer.h"
> #include "exec/memory.h"
>-#include "hw/sysbus.h"
> #include "cpu-csr.h"
> 
> #define IOCSRF_TEMP             0

https://lists.nongnu.org/archive/html/qemu-devel/2022-09/msg02628.html

\o/

Reviewed-by: Bernhard Beschow <shentey@gmail.com>
Philippe Mathieu-Daudé Dec. 17, 2022, 1:26 p.m. UTC | #3
On 17/12/22 13:26, Bernhard Beschow wrote:
> 
> 
> Am 16. Dezember 2022 22:05:32 UTC schrieb "Philippe Mathieu-Daudé" <philmd@linaro.org>:
>> Nothing requires SysBus declarations here.
>>
>> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
>> ---
>> target/loongarch/cpu.h | 1 -
>> 1 file changed, 1 deletion(-)
>>
>> diff --git a/target/loongarch/cpu.h b/target/loongarch/cpu.h
>> index e15c633b0b..c8612f5466 100644
>> --- a/target/loongarch/cpu.h
>> +++ b/target/loongarch/cpu.h
>> @@ -13,7 +13,6 @@
>> #include "hw/registerfields.h"
>> #include "qemu/timer.h"
>> #include "exec/memory.h"
>> -#include "hw/sysbus.h"
>> #include "cpu-csr.h"
>>
>> #define IOCSRF_TEMP             0
> 
> https://lists.nongnu.org/archive/html/qemu-devel/2022-09/msg02628.html
> 
> \o/

=)

Please ping me on your flying series, I'm trying to catch up /o\
diff mbox series

Patch

diff --git a/target/loongarch/cpu.h b/target/loongarch/cpu.h
index e15c633b0b..c8612f5466 100644
--- a/target/loongarch/cpu.h
+++ b/target/loongarch/cpu.h
@@ -13,7 +13,6 @@ 
 #include "hw/registerfields.h"
 #include "qemu/timer.h"
 #include "exec/memory.h"
-#include "hw/sysbus.h"
 #include "cpu-csr.h"
 
 #define IOCSRF_TEMP             0