aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/pci-testdev.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-03-20 16:57:40 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2020-03-24 11:56:37 +1100
commit1583794b9b36911df116cc726750dadbeeac506a (patch)
tree22a040833c4aaa4f844b09ec8a7c4777106bfabd /hw/misc/pci-testdev.c
parent235352ee6e73d7716d20e706d484fd45c232ec09 (diff)
downloadqemu-1583794b9b36911df116cc726750dadbeeac506a.zip
qemu-1583794b9b36911df116cc726750dadbeeac506a.tar.gz
qemu-1583794b9b36911df116cc726750dadbeeac506a.tar.bz2
ppc/ppc405_boards: Remove unnecessary NULL check
This code is inside the "if (dinfo)" condition, so testing again here whether it is NULL is unnecessary. Fixes: dd59bcae7 (Don't size flash memory to match backing image) Reported-by: Coverity (CID 1421917) Suggested-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200320155740.5342-1-philmd@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/misc/pci-testdev.c')
0 files changed, 0 insertions, 0 deletions