From: Sergei Shtylyov Date: Sun, 9 Jun 2013 20:16:52 +0000 (+0400) Subject: 3c59x: consolidate error cleanup in vortex_init_one() X-Git-Tag: v3.11-rc1~16^2~116 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afd6eae13cc4229e25d59334cdc46d042b24a4a5;p=pandora-kernel.git 3c59x: consolidate error cleanup in vortex_init_one() The PCI driver's probe() method duplicates the error cleanup code each time it has to do error exit. Consolidate the error cleanup code in one place and use *goto* to jump to the right places. Signed-off-by: Sergei Shtylyov Acked-by: Steffen Klassert Signed-off-by: David S. Miller --- Reading git-diff-tree failed