Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Remove unused sc->axe_stop_task in softc.
details: https://anonhg.NetBSD.org/src/rev/a65001672b4e
branches: trunk
changeset: 755834:a65001672b4e
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Thu Jun 24 14:41:31 2010 +0000
description:
Remove unused sc->axe_stop_task in softc.
diffstat:
sys/dev/usb/if_axe.c | 6 ++----
sys/dev/usb/if_axereg.h | 3 +--
2 files changed, 3 insertions(+), 6 deletions(-)
diffs (51 lines):
diff -r ccc2826777d3 -r a65001672b4e sys/dev/usb/if_axe.c
--- a/sys/dev/usb/if_axe.c Thu Jun 24 14:39:57 2010 +0000
+++ b/sys/dev/usb/if_axe.c Thu Jun 24 14:41:31 2010 +0000
@@ -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 @@
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 @@
* 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 -r ccc2826777d3 -r a65001672b4e sys/dev/usb/if_axereg.h
--- a/sys/dev/usb/if_axereg.h Thu Jun 24 14:39:57 2010 +0000
+++ b/sys/dev/usb/if_axereg.h Thu Jun 24 14:41:31 2010 +0000
@@ -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 @@
char axe_attached;
struct usb_task axe_tick_task;
- struct usb_task axe_stop_task;
kmutex_t axe_mii_lock;
Home |
Main Index |
Thread Index |
Old Index