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>
Thu, 2 Feb 2012 23:25:31 +0000 (00:25 +0100)
commitd0a71a7e6de0e0ce9f86c8ba6e13414a9df63e0b
tree650e1a68242a6bc949492359e50ede968ef27ff1
parent44b0052c5cb4e75389ed3eb9e98c29295a7dadfb
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