diff options
| author | Markus Armbruster <armbru@redhat.com> | 2013-01-17 13:07:47 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-01-22 15:07:03 +0100 |
| commit | 0bf8264e2d2bd19c1eecf9bde0e59284ef47eabb (patch) | |
| tree | a6939f5d780cca7bd28dc47a081c3395a7a7386d /hw/unin_pci.c | |
| parent | 032f0101aa6e009efda3a419379837ebceaeade1 (diff) | |
| download | focaccia-qemu-0bf8264e2d2bd19c1eecf9bde0e59284ef47eabb.tar.gz focaccia-qemu-0bf8264e2d2bd19c1eecf9bde0e59284ef47eabb.zip | |
scsi: Drop useless null test in scsi_unit_attention()
req was created by scsi_req_alloc(), which initializes req->dev to a value it dereferences. req->dev isn't changed anywhere else. Therefore, req->dev can't be null. Drop the useless null test; it spooks Coverity. Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'hw/unin_pci.c')
0 files changed, 0 insertions, 0 deletions