can: ems_usb: Removed double netif_device_detach
authorSebastian Haas <dev@sebastianhaas.info>
Thu, 22 Dec 2011 22:57:49 +0000 (23:57 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 3 Feb 2012 00:20:51 +0000 (01:20 +0100)
commitf84cbda06f79f05b748707b33b925b50c2fedc84
tree80e13e6acb403b1af8f189bf90799c12fc7954c6
parente1f4c485cdb2b1d7aae172b731f6c2b403381ebb
can: ems_usb: Removed double netif_device_detach

netif_device_attched is called twice when ems_usb_start fails with -ENODEV

Signed-off-by: Sebastian Haas <dev@sebastianhaas.info>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/ems_usb.c