diff options
| author | Dongwon Kim | 2021-08-30 19:50:33 +0200 |
|---|---|---|
| committer | Gerd Hoffmann | 2021-08-31 14:31:22 +0200 |
| commit | fc4d3f35f81a5d392d979607818cf1cb56bfbaf7 (patch) | |
| tree | 3aa8027bac62865111aa411bd132382c3eb959bc /include | |
| parent | Merge remote-tracking branch 'remotes/dg-gitlab/tags/ppc-for-6.2-20210827' in... (diff) | |
| download | qemu-fc4d3f35f81a5d392d979607818cf1cb56bfbaf7.tar.gz qemu-fc4d3f35f81a5d392d979607818cf1cb56bfbaf7.tar.xz qemu-fc4d3f35f81a5d392d979607818cf1cb56bfbaf7.zip | |
virtio-gpu: no point of checking res->iov
The code should check the opposite condition of res->iov because it will be null
if virtio_gpu_create_mapping_iov fails and actually this checking is not even
required because checking on ret covers all failing cases.
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
Message-Id: <20210830175033.29233-1-dongwon.kim@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
