summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-07-08 23:38:09 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-07-08 23:38:09 +0000
commitb0d62f130faaba54cee526972c751ffcc5ae1aa4 (patch)
tree5a50d84ce31afba96ee060d5af126daf66eddd57 /sys/dev/pcmcia
parentc7e17867401a13de39348e78559e0255562049bf (diff)
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.
Diffstat (limited to 'sys/dev/pcmcia')
-rw-r--r--sys/dev/pcmcia/if_xe.c3
1 files changed, 1 insertions, 2 deletions
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. */