aboutsummaryrefslogtreecommitdiff
path: root/qjson.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2013-01-10 14:33:24 +0100
committerGerd Hoffmann <kraxel@redhat.com>2013-01-14 12:47:11 +0100
commit4663530898a15944706d51b523d1f1545e32e46a (patch)
tree00c5818599218b42817907321562de725041d45f /qjson.c
parentcc8d2b65c7e5f44172bf3ec300407522162e9a7f (diff)
downloadqemu-4663530898a15944706d51b523d1f1545e32e46a.zip
qemu-4663530898a15944706d51b523d1f1545e32e46a.tar.gz
qemu-4663530898a15944706d51b523d1f1545e32e46a.tar.bz2
usb-host: Drop superfluous null test from usb_host_auto_scan()
Coverity points out that port is later passed to usb_host_open(), which dereferences it. It actually can't be null: it always points to usb_host_scan()'s auto port[]. Drop the superfluous port == NULL test. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'qjson.c')
0 files changed, 0 insertions, 0 deletions