]> git.hungrycats.org Git - linux/commit
[PATCH] Fix error path when adding sysfs attributes
authorMartin Hicks <mort@bork.org>
Sat, 17 Jan 2004 07:01:29 +0000 (02:01 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Sat, 17 Jan 2004 07:01:29 +0000 (02:01 -0500)
commit5f85fc987ea4708f815ad071e76fc75aac63ac4b
tree37255e66882a52238b8655520972553806ed2541
parenta6206b72ef154e94a7163d10bff77352d889d6ec
[PATCH] Fix error path when adding sysfs attributes

Stop adding sysfs attributes after we call scsi_remove_device()
when we encounter an error.  Also a small whitespace cleanup
and removing a useless "return".
drivers/scsi/scsi_sysfs.c