summaryrefslogtreecommitdiffstats
path: root/hw/scsi/scsi-generic.c
diff options
context:
space:
mode:
authorPaolo Bonzini2018-03-20 16:18:43 +0100
committerPaolo Bonzini2018-03-26 14:37:14 +0200
commitff82fab792cba01f29a700e4c4ac660753961fbb (patch)
tree3c6042c8ec7d95498ef66e0cd86926a30a9d2eda /hw/scsi/scsi-generic.c
parenttcg: Really fix cpu_io_recompile (diff)
downloadqemu-ff82fab792cba01f29a700e4c4ac660753961fbb.tar.gz
qemu-ff82fab792cba01f29a700e4c4ac660753961fbb.tar.xz
qemu-ff82fab792cba01f29a700e4c4ac660753961fbb.zip
chardev-socket: remove useless if
This trips Coverity, which believes the subsequent qio_channel_create_watch can dereference a NULL pointer. In reality, tcp_chr_connect's callers all have s->ioc properly initialized, since they are all rooted at tcp_chr_new_client. Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi/scsi-generic.c')
0 files changed, 0 insertions, 0 deletions