isci: cleanup request allocation
authorDan Williams <dan.j.williams@intel.com>
Mon, 13 Jun 2011 07:51:30 +0000 (00:51 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 11:04:51 +0000 (04:04 -0700)
commit0d0cf14c9bd2943ed5afd15df459f564d85eacde
treeb996109708782750f7f3d58fea957b5cf19f0fa6
parent994a9303d33f8238d57f58c26067b6d4ac9af222
isci: cleanup request allocation

Rather than return an error code and update a pointer that was passed by
reference just return the request object directly (or null if allocation
failed).

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/request.c
drivers/scsi/isci/request.h
drivers/scsi/isci/task.c