summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_scsi_host.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-01-30 13:18:57 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2017-02-06 19:09:12 -0500
commit28917d40e63a65c3923d45ed190c748e45b90ac7 (patch)
treeeb8eba87812db0b0efb43c2022f901665f280e65 /drivers/scsi/libsas/sas_scsi_host.c
parent103eb3b5d0f2cc2771b3c49181dd22f73735aaf2 (diff)
downloadlinux-stable-28917d40e63a65c3923d45ed190c748e45b90ac7.tar.gz
linux-stable-28917d40e63a65c3923d45ed190c748e45b90ac7.tar.bz2
linux-stable-28917d40e63a65c3923d45ed190c748e45b90ac7.zip
scsi: libsas: remove sas_scsi_timed_out
EH_NOT_HANDLED is the default case if no eh_timed_out method is provided, so there is no need to supply it. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/libsas/sas_scsi_host.c')
-rw-r--r--drivers/scsi/libsas/sas_scsi_host.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/scsi/libsas/sas_scsi_host.c b/drivers/scsi/libsas/sas_scsi_host.c
index 519dac4e341e..9bd55bce83af 100644
--- a/drivers/scsi/libsas/sas_scsi_host.c
+++ b/drivers/scsi/libsas/sas_scsi_host.c
@@ -803,13 +803,6 @@ out:
shost->host_failed, tries);
}
-enum blk_eh_timer_return sas_scsi_timed_out(struct scsi_cmnd *cmd)
-{
- scmd_dbg(cmd, "command %p timed out\n", cmd);
-
- return BLK_EH_NOT_HANDLED;
-}
-
int sas_ioctl(struct scsi_device *sdev, int cmd, void __user *arg)
{
struct domain_device *dev = sdev_to_domain_dev(sdev);