qemu/hw/ipmi
Philippe Mathieu-Daudé 688ffbb4f7 various: Remove unnecessary OBJECT() cast
The OBJECT() macro is defined as:

  #define OBJECT(obj) ((Object *)(obj))

Remove the unnecessary OBJECT() casts when we already know the
pointer is of Object type.

Patch created mechanically using spatch with this script:

  @@
  typedef Object;
  Object *o;
  @@
  -   OBJECT(o)
  +   o

Acked-by: Cornelia Huck <cohuck@redhat.com>
Acked-by: Corey Minyard <cminyard@mvista.com>
Acked-by: John Snow <jsnow@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200512070020.22782-3-f4bug@amsat.org>
[Trivial rebase conflict in hw/s390x/sclp.c resolved]
2020-05-15 07:08:14 +02:00
..
ipmi_bmc_extern.c
ipmi_bmc_sim.c
ipmi_bt.c
ipmi_kcs.c
ipmi.c
isa_ipmi_bt.c
isa_ipmi_kcs.c
Kconfig
Makefile.objs
pci_ipmi_bt.c
pci_ipmi_kcs.c
smbus_ipmi.c various: Remove unnecessary OBJECT() cast 2020-05-15 07:08:14 +02:00