qemu-patch-raspberry4/hw/ide
Stefan Weil 1635eecc41 ide: Remove unneeded null pointer check
With bm == NULL, other code in the same function would crash.

This bug was reported by cppcheck:
hw/ide/pci.c:280: error: Possible null pointer dereference: bm

Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2011-01-24 16:41:49 +01:00
..
ahci.c
cmd646.c
core.c
internal.h
isa.c
macio.c
microdrive.c
mmio.c
pci.c ide: Remove unneeded null pointer check 2011-01-24 16:41:49 +01:00
pci.h
piix.c
qdev.c
via.c