From fe1748059fa38e2757ecc8843cbd14ab1d556c9e Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 11 Jan 2010 17:29:20 +0000 Subject: [PATCH] Correct a path in an include I missed earlier Remove references to if_watchdog. The rge_watchdog routine was empty anyway. --- sys/mips/rmi/dev/xlr/rge.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/sys/mips/rmi/dev/xlr/rge.c b/sys/mips/rmi/dev/xlr/rge.c index 364955a88150..340060ca6a04 100644 --- a/sys/mips/rmi/dev/xlr/rge.c +++ b/sys/mips/rmi/dev/xlr/rge.c @@ -102,7 +102,7 @@ __FBSDID("$FreeBSD$"); #include #include -#include +#include /* #include "opt_rge.h" */ @@ -245,7 +245,6 @@ static void rge_start(struct ifnet *); static int rge_ioctl(struct ifnet *, u_long, caddr_t); static void rge_init(void *); static void rge_stop(struct rge_softc *); -static void rge_watchdog(struct ifnet *); static int rge_shutdown(device_t); static void rge_reset(struct rge_softc *); @@ -1936,7 +1935,6 @@ rge_attach(device_t dev) ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; ifp->if_ioctl = rge_ioctl; ifp->if_start = rge_start; - ifp->if_watchdog = rge_watchdog; ifp->if_init = rge_init; ifp->if_mtu = ETHERMTU; ifp->if_snd.ifq_drv_maxlen = RGE_TX_Q_SIZE; @@ -2404,11 +2402,6 @@ rge_stop(struct rge_softc *sc) rmi_xlr_mac_close(sc); } -static void -rge_watchdog(struct ifnet *sc) -{ -} - static int rge_shutdown(device_t dev) {