|
@@ -2279,9 +2279,8 @@ mptsas_delete_expander_phys(MPT_ADAPTER *ioc)
|
|
mutex_lock(&ioc->sas_topology_mutex);
|
|
mutex_lock(&ioc->sas_topology_mutex);
|
|
list_for_each_entry_safe(port_info, n, &ioc->sas_topology, list) {
|
|
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;
|
|
continue;
|
|
|
|
|
|
if (mptsas_sas_expander_pg0(ioc, &buffer,
|
|
if (mptsas_sas_expander_pg0(ioc, &buffer,
|