diff options
author | Markus Armbruster <armbru@redhat.com> | 2013-01-16 18:20:25 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-01-16 12:03:15 -0600 |
commit | a1cbfd554e11bb8af38c2f3e1f1574bf4c563cd2 (patch) | |
tree | 8deb6383cacf6c30dbffa5702382aa7e8e4f1920 /qemu-coroutine-sleep.c | |
parent | 955d7b26779d6654f6ba2c456bac9fd49fa0cd8a (diff) |
usb-storage: Drop useless null test in usb_msd_handle_data()
scsi_req_new() never returns null, and scsi_req_enqueue() dereferences
the pointer, so checking for null is useless.
Spotted by Coverity.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-coroutine-sleep.c')
0 files changed, 0 insertions, 0 deletions