From: Christoph Hellwig Date: Thu, 20 Feb 2014 22:20:59 +0000 (-0800) Subject: [SCSI] megaraid: simplify internal command handling X-Git-Tag: v3.15-rc1~136^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f2bb84d2a68448c29d46f9f77a78bb4ed0218db;p=pandora-kernel.git [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 Acked-by: Adam Radford Signed-off-by: James Bottomley --- Reading git-diff-tree failed