[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".
Showing
Please register or sign in to comment