diff options
author | Pavel Roskin <proski@gnu.org> | 2007-06-02 14:00:54 -0400 |
---|---|---|
committer | Guido Guenther <agx@bogon.sigxcpu.org> | 2007-06-03 18:38:24 +0200 |
commit | 26541709cddff654b11072f54fa0a0870bf9fe93 (patch) | |
tree | 4f6bfe0627696933c80529799f56713248b4d58c | |
parent | 59f97d1097d254cab76d265b09b74a873b4c29a5 (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.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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; } |