diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-04-30 00:20:30 +0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 15:00:39 +0400 |
commit | 8f304c36ee415600c6bbc5de300e6fa3dbe59d6d (patch) | |
tree | cddff716ad1db48981b7779a8a4cc35ab1b5ab91 /drivers/scsi/isci/remote_device.c | |
parent | ab2e8f7d07f577ee39228fb3454b9f29eab0f312 (diff) | |
download | linux-8f304c36ee415600c6bbc5de300e6fa3dbe59d6d.tar.xz |
isci: kill scic_remote_device_get_connection_rate
A function call to dereference a pointer is a tad much.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/remote_device.c')
-rw-r--r-- | drivers/scsi/isci/remote_device.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/scsi/isci/remote_device.c b/drivers/scsi/isci/remote_device.c index f6da85e3f2af..834a3feaca63 100644 --- a/drivers/scsi/isci/remote_device.c +++ b/drivers/scsi/isci/remote_device.c @@ -152,22 +152,9 @@ enum sci_status scic_remote_device_reset_complete( return sci_dev->state_handlers->reset_complete_handler(sci_dev); } - -enum sas_linkrate scic_remote_device_get_connection_rate( - struct scic_sds_remote_device *sci_dev) -{ - return sci_dev->connection_rate; -} - -/** - * - * - * Remote device timer requirements - */ #define SCIC_SDS_REMOTE_DEVICE_MINIMUM_TIMER_COUNT (0) #define SCIC_SDS_REMOTE_DEVICE_MAXIMUM_TIMER_COUNT (SCI_MAX_REMOTE_DEVICES) - /** * * @sci_dev: The remote device for which the suspend is being requested. |