]> git.baikalelectronics.ru Git - kernel.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)
commit6035fe6b403e3227d680af40336bd08288f6c8a1
tree5f40bcae968de741393d4ad5c7d16b80d8d1408b
parent93e3e6ab3743ddaf2ae4f66d7c2997e6095c53f5
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