diff options
| author | Philippe Mathieu-Daudé | 2020-03-20 16:57:40 +0100 |
|---|---|---|
| committer | David Gibson | 2020-03-24 01:56:37 +0100 |
| commit | 1583794b9b36911df116cc726750dadbeeac506a (patch) | |
| tree | 22a040833c4aaa4f844b09ec8a7c4777106bfabd /include/exec | |
| parent | hw/ppc: Take QEMU lock when calling ppc_dcr_read/write() (diff) | |
| download | qemu-1583794b9b36911df116cc726750dadbeeac506a.tar.gz qemu-1583794b9b36911df116cc726750dadbeeac506a.tar.xz qemu-1583794b9b36911df116cc726750dadbeeac506a.zip | |
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 'include/exec')
0 files changed, 0 insertions, 0 deletions
