]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf9211f4f9107e43c47162e249f53eb28dc8f2a51
tree3d8aa7d0f9b203f210f66d6026d9414327a7309c
parent6035fe6b403e3227d680af40336bd08288f6c8a1
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