summaryrefslogtreecommitdiff
path: root/drivers/leds
diff options
context:
space:
mode:
authorJeff Mahoney <jeffm@suse.de>2012-08-18 19:20:38 (GMT)
committerJames Bottomley <JBottomley@Parallels.com>2012-09-14 16:59:28 (GMT)
commite3f2a9cc84d35fac73c906de57ad3b3f5ff82008 (patch)
tree1815e0bc169e06a3f057aec22683940537811058 /drivers/leds
parentaf23782beff27e720318fc44495287b9961a88e1 (diff)
downloadlinux-fsl-qoriq-e3f2a9cc84d35fac73c906de57ad3b3f5ff82008.tar.xz
[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/leds')
0 files changed, 0 insertions, 0 deletions