aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ti/if_ti.c
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2011-12-15 05:07:16 +0000
committerAlan Cox <alc@FreeBSD.org>2011-12-15 05:07:16 +0000
commit3b03ca3bbe853d1ef0dd01e34915bf4b962d3e7c (patch)
tree474b914dfcfdbb58999549098e911facca00bfca /sys/dev/ti/if_ti.c
parent366cd46cbed467a69102d1315cf545f6dc487d60 (diff)
downloadsrc-3b03ca3bbe853d1ef0dd01e34915bf4b962d3e7c.tar.gz
src-3b03ca3bbe853d1ef0dd01e34915bf4b962d3e7c.zip
Eliminate vestiges of page coloring.
Notes
Notes: svn path=/head/; revision=228522
Diffstat (limited to 'sys/dev/ti/if_ti.c')
-rw-r--r--sys/dev/ti/if_ti.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c
index d57be534348c..ead690103e4b 100644
--- a/sys/dev/ti/if_ti.c
+++ b/sys/dev/ti/if_ti.c
@@ -1562,7 +1562,6 @@ ti_newbuf_jumbo(struct ti_softc *sc, int idx, struct mbuf *m_old)
struct mbuf *m[3] = {NULL, NULL, NULL};
struct ti_rx_desc_ext *r;
vm_page_t frame;
- static int color;
/* 1 extra buf to make nobufs easy*/
struct sf_buf *sf[3] = {NULL, NULL, NULL};
int i;
@@ -1605,7 +1604,7 @@ ti_newbuf_jumbo(struct ti_softc *sc, int idx, struct mbuf *m_old)
"failed -- packet dropped!\n");
goto nobufs;
}
- frame = vm_page_alloc(NULL, color++,
+ frame = vm_page_alloc(NULL, 0,
VM_ALLOC_INTERRUPT | VM_ALLOC_NOOBJ |
VM_ALLOC_WIRED);
if (frame == NULL) {