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 /block | |
parent | 032f0101aa6e009efda3a419379837ebceaeade1 (diff) |
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 'block')
0 files changed, 0 insertions, 0 deletions