diff options
author | Christoph Hellwig <hch@infradead.org> | 2014-02-20 14:20:59 -0800 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-03-27 08:26:31 -0700 |
commit | 0f2bb84d2a68448c29d46f9f77a78bb4ed0218db (patch) | |
tree | 567416ea674f58eb93e0dc2195cdf6b2483c2ac7 /drivers/block/loop.c | |
parent | c38c007af04b928b5285da8cc44fbe2f4810e24e (diff) | |
download | op-kernel-dev-0f2bb84d2a68448c29d46f9f77a78bb4ed0218db.zip op-kernel-dev-0f2bb84d2a68448c29d46f9f77a78bb4ed0218db.tar.gz |
[SCSI] megaraid: simplify internal command handling
We don't use the passed in scsi command for anything, so just add a adapter-
wide internal status to go along with the internal scb that is used unter
int_mtx to pass back the return value and get rid of all the complexities
and abuse of the scsi_cmnd structure.
This gets rid of the only user of scsi_allocate_command/scsi_free_command,
which can now be removed.
[jejb: checkpatch fixes]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/block/loop.c')
0 files changed, 0 insertions, 0 deletions