aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion
diff options
context:
space:
mode:
authorAlan Cox <alan@redhat.com>2009-04-01 10:00:29 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-04-03 10:23:10 -0400
commitd58069adc6f59f48bf96a72e6df68a670ff1b3bc (patch)
tree3a201ec8d8bb596bb9833b4bb045deac63d3a7e6 /drivers/message/fusion
parente7fb6d2ee03aa2c41e6691ac919602f864068f44 (diff)
[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/fusion')
-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)
2279 mutex_lock(&ioc->sas_topology_mutex); 2279 mutex_lock(&ioc->sas_topology_mutex);
2280 list_for_each_entry_safe(port_info, n, &ioc->sas_topology, list) { 2280 list_for_each_entry_safe(port_info, n, &ioc->sas_topology, list) {
2281 2281
2282 if (port_info->phy_info && 2282 if (!(port_info->phy_info[0].identify.device_info &
2283 (!(port_info->phy_info[0].identify.device_info & 2283 MPI_SAS_DEVICE_INFO_SMP_TARGET))
2284 MPI_SAS_DEVICE_INFO_SMP_TARGET)))
2285 continue; 2284 continue;
2286 2285
2287 if (mptsas_sas_expander_pg0(ioc, &buffer, 2286 if (mptsas_sas_expander_pg0(ioc, &buffer,