diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-03-26 19:43:01 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 07:00:36 -0400 |
commit | 35173d579a08c0d145b3020039d3ba33fbf2c184 (patch) | |
tree | 3621fd21219c967dd2284c8e51208a6a91ea44b8 /drivers/scsi/isci/task.c | |
parent | 068b2c03635bf50c9b408b21435e23e7a0b89b0f (diff) |
isci: namespacecheck cleanups
* mark needlessly global routines static
* delete unused functions
* move kernel-doc blocks from header files to source
* reorder some functions to delete declarations
* more default handler cleanups phy
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/task.c')
-rw-r--r-- | drivers/scsi/isci/task.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/scsi/isci/task.c b/drivers/scsi/isci/task.c index d48368002504..7e9668402559 100644 --- a/drivers/scsi/isci/task.c +++ b/drivers/scsi/isci/task.c | |||
@@ -588,7 +588,7 @@ void isci_task_build_tmf( | |||
588 | tmf->cb_data = cb_data; | 588 | tmf->cb_data = cb_data; |
589 | } | 589 | } |
590 | 590 | ||
591 | void isci_task_build_abort_task_tmf( | 591 | static void isci_task_build_abort_task_tmf( |
592 | struct isci_tmf *tmf, | 592 | struct isci_tmf *tmf, |
593 | struct isci_remote_device *isci_device, | 593 | struct isci_remote_device *isci_device, |
594 | enum isci_tmf_function_codes code, | 594 | enum isci_tmf_function_codes code, |
@@ -1528,15 +1528,6 @@ void isci_task_request_complete( | |||
1528 | * | 1528 | * |
1529 | * lun for specified task request. | 1529 | * lun for specified task request. |
1530 | */ | 1530 | */ |
1531 | u32 isci_task_ssp_request_get_lun(struct isci_request *request) | ||
1532 | { | ||
1533 | struct isci_tmf *isci_tmf = isci_request_access_tmf(request); | ||
1534 | |||
1535 | dev_dbg(&request->isci_host->pdev->dev, | ||
1536 | "%s: lun = %d\n", __func__, isci_tmf->lun[0]); | ||
1537 | /* @todo: build lun from array of bytes to 32 bit */ | ||
1538 | return isci_tmf->lun[0]; | ||
1539 | } | ||
1540 | 1531 | ||
1541 | /** | 1532 | /** |
1542 | * isci_task_ssp_request_get_function() - This function is called by the sci | 1533 | * isci_task_ssp_request_get_function() - This function is called by the sci |