[PATCH 5/7] hw/net/can/xlnx-versal-canfd: remove unused include directives

Luc Michel posted 7 patches 4 months, 3 weeks ago
There is a newer version of this series
[PATCH 5/7] hw/net/can/xlnx-versal-canfd: remove unused include directives
Posted by Luc Michel 4 months, 3 weeks ago
Drop unecessary include directives in xlnx-versal-canfd.c.

Signed-off-by: Luc Michel <luc.michel@amd.com>
---
 hw/net/can/xlnx-versal-canfd.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/hw/net/can/xlnx-versal-canfd.c b/hw/net/can/xlnx-versal-canfd.c
index 3eb111949f8..343348660b5 100644
--- a/hw/net/can/xlnx-versal-canfd.c
+++ b/hw/net/can/xlnx-versal-canfd.c
@@ -33,16 +33,12 @@
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/irq.h"
 #include "hw/register.h"
 #include "qapi/error.h"
-#include "qemu/bitops.h"
 #include "qemu/log.h"
-#include "qemu/cutils.h"
-#include "qemu/event_notifier.h"
 #include "hw/qdev-properties.h"
-#include "qom/object_interfaces.h"
 #include "migration/vmstate.h"
 #include "hw/net/xlnx-versal-canfd.h"
 #include "trace.h"
 
 REG32(SOFTWARE_RESET_REGISTER, 0x0)
-- 
2.50.1
Re: [PATCH 5/7] hw/net/can/xlnx-versal-canfd: remove unused include directives
Posted by Alistair Francis 4 months, 1 week ago
On Wed, Sep 17, 2025 at 9:49 PM Luc Michel <luc.michel@amd.com> wrote:
>
> Drop unecessary include directives in xlnx-versal-canfd.c.

unnecessary

>
> Signed-off-by: Luc Michel <luc.michel@amd.com>

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>

Alistair

> ---
>  hw/net/can/xlnx-versal-canfd.c | 4 ----
>  1 file changed, 4 deletions(-)
>
> diff --git a/hw/net/can/xlnx-versal-canfd.c b/hw/net/can/xlnx-versal-canfd.c
> index 3eb111949f8..343348660b5 100644
> --- a/hw/net/can/xlnx-versal-canfd.c
> +++ b/hw/net/can/xlnx-versal-canfd.c
> @@ -33,16 +33,12 @@
>  #include "qemu/osdep.h"
>  #include "hw/sysbus.h"
>  #include "hw/irq.h"
>  #include "hw/register.h"
>  #include "qapi/error.h"
> -#include "qemu/bitops.h"
>  #include "qemu/log.h"
> -#include "qemu/cutils.h"
> -#include "qemu/event_notifier.h"
>  #include "hw/qdev-properties.h"
> -#include "qom/object_interfaces.h"
>  #include "migration/vmstate.h"
>  #include "hw/net/xlnx-versal-canfd.h"
>  #include "trace.h"
>
>  REG32(SOFTWARE_RESET_REGISTER, 0x0)
> --
> 2.50.1
>
>
Re: [PATCH 5/7] hw/net/can/xlnx-versal-canfd: remove unused include directives
Posted by Francisco Iglesias 4 months, 3 weeks ago
On Wed, Sep 17, 2025 at 01:44:46PM +0200, Luc Michel wrote:
> Drop unecessary include directives in xlnx-versal-canfd.c.
> 
> Signed-off-by: Luc Michel <luc.michel@amd.com>

    Reviewed-by: Francisco Iglesias <francisco.iglesias@amd.com>

> ---
>  hw/net/can/xlnx-versal-canfd.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/hw/net/can/xlnx-versal-canfd.c b/hw/net/can/xlnx-versal-canfd.c
> index 3eb111949f8..343348660b5 100644
> --- a/hw/net/can/xlnx-versal-canfd.c
> +++ b/hw/net/can/xlnx-versal-canfd.c
> @@ -33,16 +33,12 @@
>  #include "qemu/osdep.h"
>  #include "hw/sysbus.h"
>  #include "hw/irq.h"
>  #include "hw/register.h"
>  #include "qapi/error.h"
> -#include "qemu/bitops.h"
>  #include "qemu/log.h"
> -#include "qemu/cutils.h"
> -#include "qemu/event_notifier.h"
>  #include "hw/qdev-properties.h"
> -#include "qom/object_interfaces.h"
>  #include "migration/vmstate.h"
>  #include "hw/net/xlnx-versal-canfd.h"
>  #include "trace.h"
>  
>  REG32(SOFTWARE_RESET_REGISTER, 0x0)
> -- 
> 2.50.1
>