summaryrefslogtreecommitdiff
path: root/drivers/scsi/fdomain.c
diff options
context:
space:
mode:
authorXiang Chen <chenxiang66@hisilicon.com>2017-08-11 00:09:31 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2017-08-10 20:15:02 -0400
commitcef4e1ab7a16f64ee75172ce28832e7f6abaeace (patch)
tree821e28c63cd245f9d3e83794dc6830e4e29177fd /drivers/scsi/fdomain.c
parent2b3833510d7f85120ba4dbaf2d5575415f09d27b (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/fdomain.c')
0 files changed, 0 insertions, 0 deletions