summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorkiyohara <kiyohara@NetBSD.org>2007-08-15 16:58:54 +0000
committerkiyohara <kiyohara@NetBSD.org>2007-08-15 16:58:54 +0000
commit66161689a5b4e9b66460e9e5d8c4eed6b8ce052d (patch)
tree45db2e99db692f5e7c849985f8fdf6023eb9e356 /sys/dev/usb
parentba8f4f0ea559597e221d3e974c6474f688bb2818 (diff)
Already called *_free_[rt]x_list() in *_stop().
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/if_rum.c7
-rw-r--r--sys/dev/usb/if_ural.c7
-rw-r--r--sys/dev/usb/if_zyd.c7
3 files changed, 6 insertions, 15 deletions
diff --git a/sys/dev/usb/if_rum.c b/sys/dev/usb/if_rum.c
index 8aa0f9b3de7..b092a78eaf5 100644
--- a/sys/dev/usb/if_rum.c
+++ b/sys/dev/usb/if_rum.c
@@ -1,5 +1,5 @@
/* $OpenBSD: if_rum.c,v 1.40 2006/09/18 16:20:20 damien Exp $ */
-/* $NetBSD: if_rum.c,v 1.13 2007/07/11 20:13:14 drochner Exp $ */
+/* $NetBSD: if_rum.c,v 1.14 2007/08/15 16:58:54 kiyohara Exp $ */
/*-
* Copyright (c) 2005, 2006 Damien Bergamini <damien.bergamini@free.fr>
@@ -24,7 +24,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_rum.c,v 1.13 2007/07/11 20:13:14 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rum.c,v 1.14 2007/08/15 16:58:54 kiyohara Exp $");
#include "bpfilter.h"
@@ -502,9 +502,6 @@ USB_DETACH(rum)
usbd_close_pipe(sc->sc_tx_pipeh);
}
- rum_free_rx_list(sc);
- rum_free_tx_list(sc);
-
#if NBPFILTER > 0
bpfdetach(ifp);
#endif
diff --git a/sys/dev/usb/if_ural.c b/sys/dev/usb/if_ural.c
index d46416ba26a..71525053bea 100644
--- a/sys/dev/usb/if_ural.c
+++ b/sys/dev/usb/if_ural.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ural.c,v 1.22 2007/06/09 12:13:12 kiyohara Exp $ */
+/* $NetBSD: if_ural.c,v 1.23 2007/08/15 16:58:55 kiyohara Exp $ */
/* $FreeBSD: /repoman/r/ncvs/src/sys/dev/usb/if_ural.c,v 1.40 2006/06/02 23:14:40 sam Exp $ */
/*-
@@ -24,7 +24,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ural.c,v 1.22 2007/06/09 12:13:12 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ural.c,v 1.23 2007/08/15 16:58:55 kiyohara Exp $");
#include "bpfilter.h"
@@ -556,9 +556,6 @@ USB_DETACH(ural)
usbd_close_pipe(sc->sc_tx_pipeh);
}
- ural_free_rx_list(sc);
- ural_free_tx_list(sc);
-
#if NBPFILTER > 0
bpfdetach(ifp);
#endif
diff --git a/sys/dev/usb/if_zyd.c b/sys/dev/usb/if_zyd.c
index 337a7ea3082..dd74bfa5095 100644
--- a/sys/dev/usb/if_zyd.c
+++ b/sys/dev/usb/if_zyd.c
@@ -1,5 +1,5 @@
/* $OpenBSD: if_zyd.c,v 1.52 2007/02/11 00:08:04 jsg Exp $ */
-/* $NetBSD: if_zyd.c,v 1.8 2007/07/16 06:56:23 nisimura Exp $ */
+/* $NetBSD: if_zyd.c,v 1.9 2007/08/15 16:58:55 kiyohara Exp $ */
/*-
* Copyright (c) 2006 by Damien Bergamini <damien.bergamini@free.fr>
@@ -22,7 +22,7 @@
* ZyDAS ZD1211/ZD1211B USB WLAN driver.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_zyd.c,v 1.8 2007/07/16 06:56:23 nisimura Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_zyd.c,v 1.9 2007/08/15 16:58:55 kiyohara Exp $");
#include "bpfilter.h"
@@ -469,9 +469,6 @@ USB_DETACH(zyd)
zyd_close_pipes(sc);
- zyd_free_rx_list(sc);
- zyd_free_tx_list(sc);
-
sc->attached = 0;
#if NBPFILTER > 0