summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorjack wang <jack_wang@usish.com>2009-10-20 10:10:45 +0200
committerJames Bottomley <James.Bottomley@suse.de>2009-11-06 20:10:42 +0100
commit198439e4afec431d2fa2cab9a4dcca87e5adc7a5 (patch)
tree6dddd5826c0e8cd71983797f82fdbc86ce1d0839 /drivers/scsi
parent[SCSI] Fix incorrect reporting of host protection capabilities (diff)
downloadlinux-198439e4afec431d2fa2cab9a4dcca87e5adc7a5.tar.xz
linux-198439e4afec431d2fa2cab9a4dcca87e5adc7a5.zip
[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>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/libsas/sas_expander.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/libsas/sas_expander.c b/drivers/scsi/libsas/sas_expander.c
index b3381959acce..33cf988c8c8a 100644
--- a/drivers/scsi/libsas/sas_expander.c
+++ b/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;