Skip to content

Commit

Permalink
[SCSI] libsas: do not set res = 0 in sas_ex_discover_dev()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jack wang authored and James Bottomley committed Nov 6, 2009
1 parent b2b465e commit 198439e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/scsi/libsas/sas_expander.c
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,6 @@ static int sas_ex_discover_dev(struct domain_device *dev, int phy_id)

}
}
res = 0;
}

return res;
Expand Down

0 comments on commit 198439e

Please sign in to comment.