diff options
author | Sergei Shtylyov | 2013-06-09 22:16:52 +0200 |
---|---|---|
committer | David S. Miller | 2013-06-12 10:53:52 +0200 |
commit | afd6eae13cc4229e25d59334cdc46d042b24a4a5 (patch) | |
tree | 6f373c9d15d81022085d156a80aab775300c163a /drivers/net/ethernet/stmicro | |
parent | veth: remove redundant call of dev_alloc_name (diff) | |
download | kernel-qcow2-linux-afd6eae13cc4229e25d59334cdc46d042b24a4a5.tar.gz kernel-qcow2-linux-afd6eae13cc4229e25d59334cdc46d042b24a4a5.tar.xz kernel-qcow2-linux-afd6eae13cc4229e25d59334cdc46d042b24a4a5.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/stmicro')
0 files changed, 0 insertions, 0 deletions