From 5ed7981e3e66246c0596c1e8eecf2f7236aac741 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Wed, 1 Apr 2009 15:00:29 +0100 Subject: [PATCH] --- yaml --- r: 142113 b: refs/heads/master c: d58069adc6f59f48bf96a72e6df68a670ff1b3bc h: refs/heads/master i: 142111: 29bd1bac7b7d675d7a60b68b562b0c3ea7666366 v: v3 --- [refs] | 2 +- trunk/drivers/message/fusion/mptsas.c | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 5cf7078742f2..43f55fff1927 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e7fb6d2ee03aa2c41e6691ac919602f864068f44 +refs/heads/master: d58069adc6f59f48bf96a72e6df68a670ff1b3bc diff --git a/trunk/drivers/message/fusion/mptsas.c b/trunk/drivers/message/fusion/mptsas.c index 12b732512e57..a9019f081b97 100644 --- a/trunk/drivers/message/fusion/mptsas.c +++ b/trunk/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,