summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/xl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ic/xl.c b/sys/dev/ic/xl.c
index e3863d7a580..5926eb0769c 100644
--- a/sys/dev/ic/xl.c
+++ b/sys/dev/ic/xl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xl.c,v 1.112 2013/12/28 03:35:01 deraadt Exp $ */
+/* $OpenBSD: xl.c,v 1.113 2014/05/30 19:51:22 chl Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -1102,10 +1102,8 @@ void
xl_fill_rx_ring(struct xl_softc *sc)
{
struct xl_chain_data *cd;
- struct xl_list_data *ld;
cd = &sc->xl_cdata;
- ld = sc->xl_ldata;
while (cd->xl_rx_cnt < XL_RX_LIST_CNT) {
if (xl_newbuf(sc, cd->xl_rx_prod) == ENOBUFS)