[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>
This commit is contained in:
		
					parent
					
						
							
								b2b465e928
							
						
					
				
			
			
				commit
				
					
						198439e4af
					
				
			
		
					 1 changed files with 0 additions and 1 deletions
				
			
		|  | @ -960,7 +960,6 @@ static int sas_ex_discover_dev(struct domain_device *dev, int phy_id) | ||||||
| 
 | 
 | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
| 		res = 0; |  | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	return res; | 	return res; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 jack wang
				jack wang