isci: remove scic_controller state handlers
authorChristoph Hellwig <hch@infradead.org>
Sat, 2 Apr 2011 12:15:20 +0000 (08:15 -0400)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 11:00:37 +0000 (04:00 -0700)
commitc629582d0dea42d8b3617f8c46ea2770b95e23aa
treee8c7af5050202929208945cad3e65714840c6f6e
parentbc5c96748a5f2067193faa8131b2aa5f9775d309
isci: remove scic_controller state handlers

Remove the state handler indirections for the scic_controller, and replace
them with procedural calls that check for the correct state first.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/core/scic_controller.h
drivers/scsi/isci/core/scic_sds_controller.c
drivers/scsi/isci/core/scic_sds_controller.h
drivers/scsi/isci/core/scic_sds_remote_device.c
drivers/scsi/isci/core/scic_sds_stp_request.c
drivers/scsi/isci/task.c