diff options
author | John Garry <john.garry@huawei.com> | 2018-03-23 17:05:15 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-04-19 01:32:51 +0200 |
commit | c90a0bea4f645d561b87becd2bd99f7934402510 (patch) | |
tree | b2516aee6ebe1736d55a846081581769a6cc3c03 /drivers/ata/libata-scsi.c | |
parent | scsi: hisi_sas: print device id for errors (diff) | |
download | linux-c90a0bea4f645d561b87becd2bd99f7934402510.tar.xz linux-c90a0bea4f645d561b87becd2bd99f7934402510.zip |
scsi: hisi_sas: remove some unneeded structure members
This patch removes unneeded structure elements:
- hisi_sas_phy.dev_sas_addr: only ever written
- Also remove associated function which writes it,
hisi_sas_init_add().
- hisi_sas_device.attached_phy: only ever written
- Also remove code to set it in hisi_sas_dev_found()
Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/ata/libata-scsi.c')
0 files changed, 0 insertions, 0 deletions