aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2007-06-02 14:00:54 -0400
committerGuido Guenther <agx@bogon.sigxcpu.org>2007-06-03 18:38:24 +0200
commit26541709cddff654b11072f54fa0a0870bf9fe93 (patch)
tree4f6bfe0627696933c80529799f56713248b4d58c
parent59f97d1097d254cab76d265b09b74a873b4c29a5 (diff)
[PATCH] Failure in init shouldn't call at76_delete_device(), it's done later
Signed-off-by: Pavel Roskin <proski@gnu.org>
-rw-r--r--at76_usb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/at76_usb.c b/at76_usb.c
index d1050e0..607c947 100644
--- a/at76_usb.c
+++ b/at76_usb.c
@@ -4247,9 +4247,7 @@ static int at76_init_new_device(struct at76_priv *priv)
/* we let this timer run the whole time this driver instance lives */
mod_timer(&priv->bss_list_timer, jiffies + BSS_LIST_TIMEOUT);
- return 0;
error:
- at76_delete_device(priv);
return ret;
}