summaryrefslogtreecommitdiffstats
path: root/drivers/message
diff options
context:
space:
mode:
authorAlan Cox <alan@redhat.com>2009-04-01 15:00:29 +0100
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-04-03 09:23:10 -0500
commitd58069adc6f59f48bf96a72e6df68a670ff1b3bc (patch)
tree3a201ec8d8bb596bb9833b4bb045deac63d3a7e6 /drivers/message
parente7fb6d2ee03aa2c41e6691ac919602f864068f44 (diff)
downloadblackbird-op-linux-d58069adc6f59f48bf96a72e6df68a670ff1b3bc.tar.gz
blackbird-op-linux-d58069adc6f59f48bf96a72e6df68a670ff1b3bc.zip
[SCSI] mptsas: remove unneeded check
Signed-off-by: Alan Cox <alan@redhat.com> Cc: Eric Moore <eric.moore@lsi.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/message')
-rw-r--r--drivers/message/fusion/mptsas.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c
index 12b732512e57..a9019f081b97 100644
--- a/drivers/message/fusion/mptsas.c
+++ b/drivers/message/fusion/mptsas.c
@@ -2279,9 +2279,8 @@ mptsas_delete_expander_phys(MPT_ADAPTER *ioc)
mutex_lock(&ioc->sas_topology_mutex);
list_for_each_entry_safe(port_info, n, &ioc->sas_topology, list) {
- if (port_info->phy_info &&
- (!(port_info->phy_info[0].identify.device_info &
- MPI_SAS_DEVICE_INFO_SMP_TARGET)))
+ if (!(port_info->phy_info[0].identify.device_info &
+ MPI_SAS_DEVICE_INFO_SMP_TARGET))
continue;
if (mptsas_sas_expander_pg0(ioc, &buffer,
OpenPOWER on IntegriCloud