summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authortsutsui <tsutsui@NetBSD.org>2010-06-24 14:41:31 +0000
committertsutsui <tsutsui@NetBSD.org>2010-06-24 14:41:31 +0000
commit79c4c75696d26bbffd19c7595db205afb2883ce9 (patch)
tree62bba7928844dd1d751eccb58682d8b0d9cd83aa /sys/dev/usb
parent59fadcf9bca2b28fa54df90d022538a79a61252a (diff)
Remove unused sc->axe_stop_task in softc.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/if_axe.c6
-rw-r--r--sys/dev/usb/if_axereg.h3
2 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/usb/if_axe.c b/sys/dev/usb/if_axe.c
index f24308b54cb..535044e8d1e 100644
--- a/sys/dev/usb/if_axe.c
+++ b/sys/dev/usb/if_axe.c
@@ -1,4 +1,4 @@
-/* $NetBSD: if_axe.c,v 1.36 2010/06/24 14:39:57 tsutsui Exp $ */
+/* $NetBSD: if_axe.c,v 1.37 2010/06/24 14:41:31 tsutsui Exp $ */
/* $OpenBSD: if_axe.c,v 1.96 2010/01/09 05:33:08 jsg Exp $ */
/*
@@ -89,7 +89,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.36 2010/06/24 14:39:57 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_axe.c,v 1.37 2010/06/24 14:41:31 tsutsui Exp $");
#if defined(__NetBSD__)
#include "opt_inet.h"
@@ -611,7 +611,6 @@ axe_attach(device_t parent, device_t self, void *aux)
mutex_init(&sc->axe_mii_lock, MUTEX_DEFAULT, IPL_NONE);
usb_init_task(&sc->axe_tick_task, axe_tick_task, sc);
- usb_init_task(&sc->axe_stop_task, (void (*)(void *))axe_stop, sc);
err = usbd_device2interface_handle(dev, AXE_IFACE_IDX, &sc->axe_iface);
if (err) {
@@ -762,7 +761,6 @@ axe_detach(device_t self, int flags)
* in the same thread as detach.
*/
usb_rem_task(sc->axe_udev, &sc->axe_tick_task);
- usb_rem_task(sc->axe_udev, &sc->axe_stop_task);
s = splusb();
diff --git a/sys/dev/usb/if_axereg.h b/sys/dev/usb/if_axereg.h
index 9bf93553060..84e5b1f0647 100644
--- a/sys/dev/usb/if_axereg.h
+++ b/sys/dev/usb/if_axereg.h
@@ -1,4 +1,4 @@
-/* $NetBSD: if_axereg.h,v 1.8 2010/06/23 19:00:26 pgoyette Exp $ */
+/* $NetBSD: if_axereg.h,v 1.9 2010/06/24 14:41:31 tsutsui Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000-2003
@@ -221,7 +221,6 @@ struct axe_softc {
char axe_attached;
struct usb_task axe_tick_task;
- struct usb_task axe_stop_task;
kmutex_t axe_mii_lock;