summaryrefslogtreecommitdiff
path: root/drivers/scsi/smartpqi/smartpqi.h
diff options
context:
space:
mode:
authorKevin Barnett <kevin.barnett@microsemi.com>2016-08-31 14:54:35 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2016-09-02 06:21:37 -0400
commit14bb215d09de98a8e95fa2bb1b8f35b79672c5df (patch)
tree9f5472d353919d2b743db337b068b058695ef74c /drivers/scsi/smartpqi/smartpqi.h
parente58081a714275d1490e470bdaf1b5dc23043cf2a (diff)
scsi: smartpqi: enhance reset logic
Eliminated timeout from LUN reset logic. Reviewed-by: Scott Teel <scott.teel@microsemi.com> Reviewed-by: Scott Benesh <scott.benesh@microsemi.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Signed-off-by: Kevin Barnett <kevin.barnett@microsemi.com> Signed-off-by: Don Brace <don.brace@microsemi.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/smartpqi/smartpqi.h')
-rw-r--r--drivers/scsi/smartpqi/smartpqi.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/smartpqi/smartpqi.h b/drivers/scsi/smartpqi/smartpqi.h
index dbcdb03feabf..053be6be2077 100644
--- a/drivers/scsi/smartpqi/smartpqi.h
+++ b/drivers/scsi/smartpqi/smartpqi.h
@@ -370,7 +370,6 @@ struct pqi_task_management_request {
};
#define SOP_TASK_MANAGEMENT_LUN_RESET 0x8
-#define PQI_ABORT_TIMEOUT_MSECS (20 * 1000)
struct pqi_task_management_response {
struct pqi_iu_header header;
@@ -762,7 +761,6 @@ struct pqi_scsi_dev {
struct pqi_sas_port *sas_port;
struct scsi_device *sdev;
- bool reset_in_progress;
struct list_head scsi_device_list_entry;
struct list_head new_device_list_entry;