commit | afd6eae13cc4229e25d59334cdc46d042b24a4a5 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | Mon Jun 10 00:16:52 2013 +0400 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 12 01:53:52 2013 -0700 |
tree | 6f373c9d15d81022085d156a80aab775300c163a | |
parent | 3f8b96379a820318db37f7b6e81e6e459ad56efe [diff] |
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 <sergei.shtylyov@cogentembedded.com> Acked-by: Steffen Klassert <klassert@mathematik.tu-chemnitz.de> Signed-off-by: David S. Miller <davem@davemloft.net>