diff options
author | Xiang Chen <chenxiang66@hisilicon.com> | 2017-08-11 00:09:31 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-08-10 20:15:02 -0400 |
commit | cef4e1ab7a16f64ee75172ce28832e7f6abaeace (patch) | |
tree | 821e28c63cd245f9d3e83794dc6830e4e29177fd /drivers/scsi/nsp32_io.h | |
parent | 2b3833510d7f85120ba4dbaf2d5575415f09d27b (diff) |
scsi: hisi_sas: remove repeated device config in v2 hw
This patch removes some repeated configurations:
(1) The device id of the device is already set in the alloc function, so
we don't need to modify in free device function.
(2) Field dev_type and dev_status are configured in hisi_sas_dev_gone(),
so there is no need for repeated config in free_device_v3_hw.
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/nsp32_io.h')
0 files changed, 0 insertions, 0 deletions