summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorXiang Chen <chenxiang66@hisilicon.com>2017-08-10 19:09:31 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2017-08-11 03:15:02 +0300
commitcef4e1ab7a16f64ee75172ce28832e7f6abaeace (patch)
tree821e28c63cd245f9d3e83794dc6830e4e29177fd /include
parent2b3833510d7f85120ba4dbaf2d5575415f09d27b (diff)
downloadlinux-cef4e1ab7a16f64ee75172ce28832e7f6abaeace.tar.xz
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 'include')
0 files changed, 0 insertions, 0 deletions