diff options
| author | Markus Armbruster | 2013-01-17 13:07:47 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2013-01-22 15:07:03 +0100 |
| commit | 0bf8264e2d2bd19c1eecf9bde0e59284ef47eabb (patch) | |
| tree | a6939f5d780cca7bd28dc47a081c3395a7a7386d /hw/lsi53c895a.c | |
| parent | lsi: use qbus_reset_all to reset SCSI bus (diff) | |
| download | qemu-0bf8264e2d2bd19c1eecf9bde0e59284ef47eabb.tar.gz qemu-0bf8264e2d2bd19c1eecf9bde0e59284ef47eabb.tar.xz 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/lsi53c895a.c')
0 files changed, 0 insertions, 0 deletions
