diff options
author | 2005-12-09 21:35:44 +0000 | |
---|---|---|
committer | 2005-12-09 21:35:44 +0000 | |
commit | 86bb1f9165ca55b744e6637cfedc4fa0bbececf7 (patch) | |
tree | 760854273192d3b4f6c404f8525eff5ea6ea97a4 | |
parent | some cleaning and fixing of comments. (diff) | |
download | wireguard-openbsd-86bb1f9165ca55b744e6637cfedc4fa0bbececf7.tar.xz wireguard-openbsd-86bb1f9165ca55b744e6637cfedc4fa0bbececf7.zip |
remove unused function bge_shutdown().
-rw-r--r-- | sys/dev/pci/if_bge.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index 501d1a555cd..ad54f3c1d22 100644 --- a/sys/dev/pci/if_bge.c +++ b/sys/dev/pci/if_bge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bge.c,v 1.112 2005/12/09 21:06:45 brad Exp $ */ +/* $OpenBSD: if_bge.c,v 1.113 2005/12/09 21:35:44 brad Exp $ */ /* * Copyright (c) 2001 Wind River Systems @@ -144,7 +144,6 @@ void bge_init(void *); void bge_stop_block(struct bge_softc *, bus_size_t, u_int32_t); void bge_stop(struct bge_softc *); void bge_watchdog(struct ifnet *); -void bge_shutdown(void *); int bge_ifmedia_upd(struct ifnet *); void bge_ifmedia_sts(struct ifnet *, struct ifmediareq *); @@ -3350,16 +3349,3 @@ bge_stop(struct bge_softc *sc) sc->bge_tx_saved_considx = BGE_TXCONS_UNSET; } - -/* - * Stop all chip I/O so that the kernel's probe routines don't - * get confused by errant DMAs when rebooting. - */ -void -bge_shutdown(void *xsc) -{ - struct bge_softc *sc = (struct bge_softc *)xsc; - - bge_stop(sc); - bge_reset(sc); -} |