scsi: hisi_sas: remove unused variable hisi_sas_devices.running_req
authorXiang Chen <chenxiang66@hisilicon.com>
Wed, 7 Mar 2018 12:25:10 +0000 (20:25 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 13 Mar 2018 01:55:24 +0000 (21:55 -0400)
commit36996a1e6dff4e5835faeb00ba920ccb9a07aa52
tree21edf25fc454093eb47763836c01f29fc7d93405
parentbb9abc4af5449d2a72cda876be950988e8b2b888
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>
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/hisi_sas/hisi_sas_main.c
drivers/scsi/hisi_sas/hisi_sas_v1_hw.c