Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Alan Cox and committed by
James Bottomley
d58069ad e7fb6d2e

+2 -3
+2 -3
drivers/message/fusion/mptsas.c
··· 2279 2279 mutex_lock(&ioc->sas_topology_mutex); 2280 2280 list_for_each_entry_safe(port_info, n, &ioc->sas_topology, list) { 2281 2281 2282 - if (port_info->phy_info && 2283 - (!(port_info->phy_info[0].identify.device_info & 2284 - MPI_SAS_DEVICE_INFO_SMP_TARGET))) 2282 + if (!(port_info->phy_info[0].identify.device_info & 2283 + MPI_SAS_DEVICE_INFO_SMP_TARGET)) 2285 2284 continue; 2286 2285 2287 2286 if (mptsas_sas_expander_pg0(ioc, &buffer,