From b0d62f130faaba54cee526972c751ffcc5ae1aa4 Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Sun, 8 Jul 2001 23:38:09 +0000 Subject: Don't set up ifq_maxlen manually for drivers that uses IFQ_MAXLEN (or ifqmaxlen); it's done in if_attach() now. No future drivers needs to set up this anymore unless they want to use something else. --- sys/dev/ic/an.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/dev/ic/an.c') diff --git a/sys/dev/ic/an.c b/sys/dev/ic/an.c index 7a10311b013..eaf938f0ee5 100644 --- a/sys/dev/ic/an.c +++ b/sys/dev/ic/an.c @@ -1,4 +1,4 @@ -/* $OpenBSD: an.c,v 1.18 2001/06/25 21:11:16 mickey Exp $ */ +/* $OpenBSD: an.c,v 1.19 2001/07/08 23:38:05 fgsch Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -237,7 +237,6 @@ an_attach(sc) ifp->if_start = an_start; ifp->if_watchdog = an_watchdog; ifp->if_baudrate = 10000000; - ifp->if_snd.ifq_maxlen = IFQ_MAXLEN; bzero(sc->an_config.an_nodename, sizeof(sc->an_config.an_nodename)); bcopy(AN_DEFAULT_NODENAME, sc->an_config.an_nodename, -- cgit v1.2.3