diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2012-12-12 02:26:51 +0530 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-01-29 14:15:35 +1100 |
commit | 25ef16d0710e1d2476bb06232836650ea42763a5 (patch) | |
tree | 483c7543d2b7a9dc6370f66f8c293baff9c8dd9f /drivers/scsi/mpt3sas/mpt3sas_scsih.c | |
parent | 3735660d7be66e2e508ff393f69214f2b4113ab2 (diff) | |
download | op-kernel-dev-25ef16d0710e1d2476bb06232836650ea42763a5.zip op-kernel-dev-25ef16d0710e1d2476bb06232836650ea42763a5.tar.gz |
[SCSI] mpt3sas: remove unused variables
The variable 'chain_flags' and 'phy_number' are initialized but never used
otherwise, So remove those unused variables.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Sreekanth Reddy <Sreekanth.Reddy@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpt3sas_scsih.c')
-rw-r--r-- | drivers/scsi/mpt3sas/mpt3sas_scsih.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/mpt3sas/mpt3sas_scsih.c b/drivers/scsi/mpt3sas/mpt3sas_scsih.c index eb23846..dcbf7c8 100644 --- a/drivers/scsi/mpt3sas/mpt3sas_scsih.c +++ b/drivers/scsi/mpt3sas/mpt3sas_scsih.c @@ -2754,13 +2754,11 @@ _scsih_block_io_to_children_attached_directly(struct MPT3SAS_ADAPTER *ioc, int i; u16 handle; u16 reason_code; - u8 phy_number; for (i = 0; i < event_data->NumEntries; i++) { handle = le16_to_cpu(event_data->PHY[i].AttachedDevHandle); if (!handle) continue; - phy_number = event_data->StartPhyNum + i; reason_code = event_data->PHY[i].PhyStatus & MPI2_EVENT_SAS_TOPO_RC_MASK; if (reason_code == MPI2_EVENT_SAS_TOPO_RC_DELAY_NOT_RESPONDING) |