diff options
author | Xiang Chen <chenxiang66@hisilicon.com> | 2018-03-07 20:25:10 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-03-12 21:55:24 -0400 |
commit | 36996a1e6dff4e5835faeb00ba920ccb9a07aa52 (patch) | |
tree | 21edf25fc454093eb47763836c01f29fc7d93405 /drivers/scsi/hisi_sas/hisi_sas.h | |
parent | scsi: hisi_sas: increase timer expire of internal abort task (diff) | |
download | linux-dev-36996a1e6dff4e5835faeb00ba920ccb9a07aa52.tar.xz linux-dev-36996a1e6dff4e5835faeb00ba920ccb9a07aa52.zip |
scsi: hisi_sas: remove unused variable hisi_sas_devices.running_req
The structure element hisi_sas_devices.running_req to count how many
commands are active is in effect only ever written in the code, so remove
it.
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/hisi_sas/hisi_sas.h')
-rw-r--r-- | drivers/scsi/hisi_sas/hisi_sas.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/hisi_sas/hisi_sas.h b/drivers/scsi/hisi_sas/hisi_sas.h index e7fd2877c19c..d1153e8e846b 100644 --- a/drivers/scsi/hisi_sas/hisi_sas.h +++ b/drivers/scsi/hisi_sas/hisi_sas.h @@ -175,7 +175,6 @@ struct hisi_sas_device { struct hisi_sas_dq *dq; struct list_head list; u64 attached_phy; - atomic64_t running_req; enum sas_device_type dev_type; int device_id; int sata_idx; |