]> 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)
commit657fa17f5379814bb385c89081d160043f9af0d2
tree5f40bcae968de741393d4ad5c7d16b80d8d1408b
parentec66ec7b3ee2ddd98b4e4da99cc0a60e27b6157a
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