diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-08-10 17:25:08 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-08-10 17:25:08 +0000 |
commit | 23fd839a089fa5c389e1b08ac8a0aaa29c6f4b16 (patch) | |
tree | 2a36fd77e70f030bab454f72c328ae7a4d6dac14 /sys/dev | |
parent | d3a87889bdf1d0cea9c739246c1685c70afaf16a (diff) |
delete xxshutdown handlers that are never even hooked up
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_lge.c | 16 | ||||
-rw-r--r-- | sys/dev/pci/if_vic.c | 11 |
2 files changed, 2 insertions, 25 deletions
diff --git a/sys/dev/pci/if_lge.c b/sys/dev/pci/if_lge.c index 5824f8b0959..a3d02c89bc7 100644 --- a/sys/dev/pci/if_lge.c +++ b/sys/dev/pci/if_lge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_lge.c,v 1.50 2008/11/28 02:44:18 brad Exp $ */ +/* $OpenBSD: if_lge.c,v 1.51 2009/08/10 17:25:07 deraadt Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2000, 2001 @@ -142,7 +142,6 @@ int lge_ioctl(struct ifnet *, u_long, caddr_t); void lge_init(void *); void lge_stop(struct lge_softc *); void lge_watchdog(struct ifnet *); -void lge_shutdown(void *); int lge_ifmedia_upd(struct ifnet *); void lge_ifmedia_sts(struct ifnet *, struct ifmediareq *); @@ -1498,16 +1497,3 @@ lge_stop(struct lge_softc *sc) bzero((char *)&sc->lge_ldata->lge_tx_list, sizeof(sc->lge_ldata->lge_tx_list)); } - -/* - * Stop all chip I/O so that the kernel's probe routines don't - * get confused by errant DMAs when rebooting. - */ -void -lge_shutdown(void *xsc) -{ - struct lge_softc *sc = (struct lge_softc *)xsc; - - lge_reset(sc); - lge_stop(sc); -} diff --git a/sys/dev/pci/if_vic.c b/sys/dev/pci/if_vic.c index 3a5e9c1f0de..5defda26a0b 100644 --- a/sys/dev/pci/if_vic.c +++ b/sys/dev/pci/if_vic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vic.c,v 1.72 2009/08/09 11:40:56 deraadt Exp $ */ +/* $OpenBSD: if_vic.c,v 1.73 2009/08/10 17:25:07 deraadt Exp $ */ /* * Copyright (c) 2006 Reyk Floeter <reyk@openbsd.org> @@ -314,7 +314,6 @@ struct cfattach vic_ca = { }; int vic_intr(void *); -void vic_shutdown(void *); int vic_query(struct vic_softc *); int vic_alloc_data(struct vic_softc *); @@ -796,14 +795,6 @@ vic_link_state(struct vic_softc *sc) } } -void -vic_shutdown(void *self) -{ - struct vic_softc *sc = (struct vic_softc *)self; - - vic_stop(&sc->sc_ac.ac_if); -} - int vic_intr(void *arg) { |