Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1516075
| From | John Garry <john.garry@huawei.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 07/11] hisi_sas: delete repeated configuration in free_device_v2_hw() |
| Date | 2016-11-07 13:40 +0100 |
| Message-ID | <sARns-376-39@gated-at.bofh.it> (permalink) |
| References | <sARdL-33z-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Xiang Chen <chenxiang66@hisilicon.com> Delete repeated configuration items for hisi_sas_device() when we free a device. These items are now only set in hisi_sas_dev_gone(). Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com> Signed-off-by: John Garry <john.garry@huawei.com> --- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/scsi/hisi_sas/hisi_sas_v2_hw.c b/drivers/scsi/hisi_sas/hisi_sas_v2_hw.c index 7567193..3081eec 100644 --- a/drivers/scsi/hisi_sas/hisi_sas_v2_hw.c +++ b/drivers/scsi/hisi_sas/hisi_sas_v2_hw.c @@ -739,8 +739,6 @@ static void free_device_v2_hw(struct hisi_hba *hisi_hba, qw0 &= ~(1 << ITCT_HDR_VALID_OFF); hisi_sas_write32(hisi_hba, ENT_INT_SRC3, ENT_INT_SRC3_ITC_INT_MSK); - hisi_hba->devices[dev_id].dev_type = SAS_PHY_UNUSED; - hisi_hba->devices[dev_id].dev_status = HISI_SAS_DEV_NORMAL; /* clear the itct */ hisi_sas_write32(hisi_hba, ITCT_CLR, 0); -- 1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 00/11] hisi_sas: some fixes, improvements, and new features John Garry <john.garry@huawei.com> - 2016-11-07 13:30 +0100 [PATCH 03/11] hisi_sas: only process broadcast change in phy_bcast_v2_hw() John Garry <john.garry@huawei.com> - 2016-11-07 13:30 +0100 [PATCH 06/11] hisi_sas: modify return value of hisi_sas_query_task() John Garry <john.garry@huawei.com> - 2016-11-07 13:30 +0100 [PATCH 02/11] hisi_sas: alloc queue id of slot according to device id John Garry <john.garry@huawei.com> - 2016-11-07 13:30 +0100 [PATCH 09/11] hisi_sas: check SATA FIS when directly attaching SATA device John Garry <john.garry@huawei.com> - 2016-11-07 13:30 +0100 [PATCH 04/11] hisi_sas: fix port form bug in hisi_sas_port_notify_formed() John Garry <john.garry@huawei.com> - 2016-11-07 13:30 +0100 [PATCH 01/11] hisi_sas: add v2 hw support for ECC and AXI bus fatal error John Garry <john.garry@huawei.com> - 2016-11-07 13:30 +0100 [PATCH 07/11] hisi_sas: delete repeated configuration in free_device_v2_hw() John Garry <john.garry@huawei.com> - 2016-11-07 13:40 +0100
csiph-web