aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/request.c
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2011-05-06 02:17:37 +0000
committerDan Williams <dan.j.williams@intel.com>2011-07-03 04:04:46 -0700
commit9286a1959ce7f3df3c1a8e33eb9b210078318dc8 (patch)
tree6d4b1e3d757f2f7598f4fbe97bc0c3572eecce94 /drivers/scsi/isci/request.c
parentcc3dbd0a9178865d4444f8e28b51715808e9ac85 (diff)
isci: Removing unnecessary functions in request.c
No need for wrappers, just access sas_task directly. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/request.c')
-rw-r--r--drivers/scsi/isci/request.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/drivers/scsi/isci/request.c b/drivers/scsi/isci/request.c
index 0521c045d43b..e01c2c98f4e9 100644
--- a/drivers/scsi/isci/request.c
+++ b/drivers/scsi/isci/request.c
@@ -1197,37 +1197,3 @@ void isci_request_io_request_complete(
isci_host_can_dequeue(isci_host, 1);
}
-
-/**
- * isci_request_io_request_get_transfer_length() - This function is called by
- * the sci core to retrieve the transfer length for a given request.
- * @request: This parameter is the isci_request object.
- *
- * length of transfer for specified request.
- */
-u32 isci_request_io_request_get_transfer_length(struct isci_request *request)
-{
- struct sas_task *task = isci_request_access_task(request);
-
- dev_dbg(&request->isci_host->pdev->dev,
- "%s: total_xfer_len: %d\n",
- __func__,
- task->total_xfer_len);
- return task->total_xfer_len;
-}
-
-
-/**
- * isci_request_io_request_get_data_direction() - This function is called by
- * the sci core to retrieve the data direction for a given request.
- * @request: This parameter is the isci_request object.
- *
- * data direction for specified request.
- */
-enum dma_data_direction isci_request_io_request_get_data_direction(
- struct isci_request *request)
-{
- struct sas_task *task = isci_request_access_task(request);
-
- return task->data_dir;
-}

Privacy Policy