diff options
author | 2006-04-23 20:21:31 +0000 | |
---|---|---|
committer | 2006-04-23 20:21:31 +0000 | |
commit | e07f8864cd14e8fc2da0f8f46b9e166d253254da (patch) | |
tree | 025a5ff97d9969cbb9beec866035088de3558191 | |
parent | Make code path for ADMTek variant endian-safe; fixes dc(4) on macppc. (diff) | |
download | wireguard-openbsd-e07f8864cd14e8fc2da0f8f46b9e166d253254da.tar.xz wireguard-openbsd-e07f8864cd14e8fc2da0f8f46b9e166d253254da.zip |
Remove superfluous use of usb_callout_init() (== timeout_set()).
Superfluous because the immediately following usb_callout() does the
same timeout_set(). And superfluous because the same usb_callout_init
was done during attach.
ok dlg@
-rw-r--r-- | sys/dev/usb/if_axe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/usb/if_axe.c b/sys/dev/usb/if_axe.c index 732aedf00b7..d13ff028c4e 100644 --- a/sys/dev/usb/if_axe.c +++ b/sys/dev/usb/if_axe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_axe.c,v 1.48 2006/04/13 15:27:49 jolan Exp $ */ +/* $OpenBSD: if_axe.c,v 1.49 2006/04/23 20:21:31 krw Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000-2003 @@ -1322,7 +1322,6 @@ axe_init(void *xsc) splx(s); - usb_callout_init(sc->axe_stat_ch); usb_callout(sc->axe_stat_ch, hz, axe_tick, sc); return; } |