summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/st.h
diff options
context:
space:
mode:
authorJeff Mahoney2012-08-18 21:20:38 +0200
committerJames Bottomley2012-09-14 18:59:28 +0200
commite3f2a9cc84d35fac73c906de57ad3b3f5ff82008 (patch)
tree1815e0bc169e06a3f057aec22683940537811058 /drivers/scsi/st.h
parent[SCSI] st: Use static class attributes (diff)
downloadkernel-qcow2-linux-e3f2a9cc84d35fac73c906de57ad3b3f5ff82008.tar.gz
kernel-qcow2-linux-e3f2a9cc84d35fac73c906de57ad3b3f5ff82008.tar.xz
kernel-qcow2-linux-e3f2a9cc84d35fac73c906de57ad3b3f5ff82008.zip
[SCSI] st: clean up dev cleanup in st_probe
st_probe leaves a cdev pointer hanging around that is compared during the error path and freed later. There's no need for the pointer to hang around at all. So we free it immediately and simplify the error handling. Reviewed-by: Lee Duncan <lduncan@suse.com> Signed-off-by: Jeff Mahoney <jeffm@suse.com> Acked-by: Kai Mäkisara <kai.makisara@kolumbus.fi> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/st.h')
0 files changed, 0 insertions, 0 deletions