Explorar o código

[SCSI] libsas: do not set res = 0 in sas_ex_discover_dev()

We should not set res to 0 in function sas_ex_discover_dev  in order to let
it discover it further when wide port hotplug in .

Signed-off-by: Tom Peng <tom_peng@usish.com>
Signed-off-by: Jack Wang <jack_wang@usish.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
jack wang %!s(int64=15) %!d(string=hai) anos
pai
achega
198439e4af
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      drivers/scsi/libsas/sas_expander.c

+ 0 - 1
drivers/scsi/libsas/sas_expander.c

@@ -960,7 +960,6 @@ static int sas_ex_discover_dev(struct domain_device *dev, int phy_id)
 
 
 			}
 			}
 		}
 		}
-		res = 0;
 	}
 	}
 
 
 	return res;
 	return res;