isci: remove the completion and event state handlers
authorDan Williams <dan.j.williams@intel.com>
Wed, 11 May 2011 15:29:56 +0000 (08:29 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 11:04:48 +0000 (04:04 -0700)
commit79e2b6b27699c916e3c7cda18a26d47fea6017fb
tree3d8aa7d0f9b203f210f66d6026d9414327a7309c
parenta7e255a34220ba57eeeb75637c911974e54c08e7
isci: remove the completion and event state handlers

With these handlers gone the rest of the state handler infrastructure is
removed.

Added some WARN_ONCEs where previously we would cause NULL pointer
dereferences or silently run handlers from a previous state.

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