From: Jeff Mahoney Date: Sat, 18 Aug 2012 19:20:38 +0000 (-0400) Subject: [SCSI] st: clean up dev cleanup in st_probe X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~38^2^2~119 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3f2a9cc84d35fac73c906de57ad3b3f5ff82008;p=pandora-kernel.git [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 Signed-off-by: Jeff Mahoney Acked-by: Kai Mäkisara Signed-off-by: James Bottomley --- Reading git-diff-tree failed