aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pnp/driver.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2010-02-12 12:13:55 -0500
committerJames Bottomley <James.Bottomley@suse.de>2010-02-18 11:06:39 -0600
commitee37e09d81a4acf328f68189af12f116401f8c0f (patch)
treeabac354cb40c47be3985c6e2efe399dd10dcdd87 /drivers/pnp/driver.c
parentd5469119f0098881ab7f991990ef4f81ef13a194 (diff)
downloadkernel_samsung_smdk4412-ee37e09d81a4acf328f68189af12f116401f8c0f.tar.gz
kernel_samsung_smdk4412-ee37e09d81a4acf328f68189af12f116401f8c0f.tar.bz2
kernel_samsung_smdk4412-ee37e09d81a4acf328f68189af12f116401f8c0f.zip
[SCSI] fix duplicate removal on error path in scsi_sysfs_add_sdev
This patch (as1335) fixes a bug in scsi_sysfs_add_sdev(). Its callers always remove the device if anything goes wrong, so it should never remove the device. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/pnp/driver.c')
0 files changed, 0 insertions, 0 deletions