]> git.karo-electronics.de Git - karo-tx-linux.git/commit
isci: remove request task context completion state handler
authorDan Williams <dan.j.williams@intel.com>
Wed, 11 May 2011 15:27:47 +0000 (08:27 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 11:04:48 +0000 (04:04 -0700)
commita7e255a34220ba57eeeb75637c911974e54c08e7
tree5f40bcae968de741393d4ad5c7d16b80d8d1408b
parentd1c637c35b33ddd2b405956e04b50939bb10ed2a
isci: remove request task context completion state handler

Unlike the other conversions this only updates
scic_sds_io_request_tc_completion() to call the old state handlers directly
(with less verbose names).  This was done for future patch readability, the
implementations have only minor differences for different completion codes.
Without a reference to the function name it would be difficult to dicern which
state is being updated.  Considered changing the order to look up the
completion code before the state but that was not a clean conversion either.

Reported-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/request.c
drivers/scsi/isci/request.h