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

Re: [PATCH] remove redundant typedef when use OBJECT_DECLARE_SIMPLE_TYPE



On 23/10/25 08:34, Nguyen Dinh Phi wrote:
When OBJECT_DECLARE_SIMPLE_TYPE is used, it automatically provides
the typedef, so we don’t have to define it ourselves.

Signed-off-by: Nguyen Dinh Phi <phind.uet@xxxxxxxxx>
---
  backends/cryptodev-lkcf.c               | 1 -
  hw/char/ipoctal232.c                    | 9 ++++-----
  hw/char/xen_console.c                   | 1 -
  hw/dma/pl330.c                          | 6 ++----
  hw/net/fsl_etsec/etsec.h                | 1 -
  hw/net/xen_nic.c                        | 2 --
  hw/pci-host/bonito.c                    | 7 +++----
  hw/ppc/pef.c                            | 1 -
  hw/usb/dev-mtp.c                        | 7 +++----
  hw/usb/dev-uas.c                        | 7 +++----
  include/hw/char/serial.h                | 1 -
  include/hw/input/lasips2.h              | 6 ++----
  include/hw/misc/auxbus.h                | 7 +++----
  include/hw/misc/bcm2835_mphi.h          | 7 ++-----
  include/hw/misc/npcm7xx_pwm.h           | 7 ++-----
  include/hw/pci-host/pnv_phb3.h          | 6 ++----
  include/hw/pci-host/pnv_phb4.h          | 8 ++++----
  include/hw/ppc/mac_dbdma.h              | 7 +++----
  include/hw/riscv/iommu.h                | 3 ---
  include/hw/scsi/scsi.h                  | 7 +++----
  include/hw/vfio/vfio-container-legacy.h | 5 ++---
  include/hw/virtio/virtio-serial.h       | 5 ++---
  include/net/can_emu.h                   | 7 +++----
  23 files changed, 43 insertions(+), 75 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.