summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ethoc.c
diff options
context:
space:
mode:
authorSergei Shtylyov2013-06-09 22:16:52 +0200
committerDavid S. Miller2013-06-12 10:53:52 +0200
commitafd6eae13cc4229e25d59334cdc46d042b24a4a5 (patch)
tree6f373c9d15d81022085d156a80aab775300c163a /drivers/net/ethernet/ethoc.c
parentveth: remove redundant call of dev_alloc_name (diff)
downloadkernel-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/ethoc.c')
0 files changed, 0 insertions, 0 deletions