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/pcmcia/if_xe.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/dev/pcmcia/if_xe.c') diff --git a/sys/dev/pcmcia/if_xe.c b/sys/dev/pcmcia/if_xe.c index 7c564bfab7b..f595a245531 100644 --- a/sys/dev/pcmcia/if_xe.c +++ b/sys/dev/pcmcia/if_xe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xe.c,v 1.21 2001/06/27 06:34:52 kjc Exp $ */ +/* $OpenBSD: if_xe.c,v 1.22 2001/07/08 23:38:07 fgsch Exp $ */ /* * Copyright (c) 1999 Niklas Hallqvist, Brandon Creighton, Job de Haas @@ -382,7 +382,6 @@ xe_pcmcia_attach(parent, self, aux) ifp->if_ioctl = xe_ioctl; ifp->if_start = xe_start; ifp->if_watchdog = xe_watchdog; - IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN); IFQ_SET_READY(&ifp->if_snd); /* Establish the interrupt. */ -- cgit v1.2.3