summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_vic.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2006-12-14 10:10:21 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2006-12-14 10:10:21 +0000
commit030f2aba6c4fac3427aa48054ff9234b21505485 (patch)
treec622a70401c24f3e805fe34c06c7ab9abf578116 /sys/dev/pci/if_vic.c
parent86db620637928afd1a96e331cad8805178137406 (diff)
remove an ugly macro that made claudio sad. luckily it wasnt being used.
Diffstat (limited to 'sys/dev/pci/if_vic.c')
-rw-r--r--sys/dev/pci/if_vic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_vic.c b/sys/dev/pci/if_vic.c
index 82d0ed12756..791e8537681 100644
--- a/sys/dev/pci/if_vic.c
+++ b/sys/dev/pci/if_vic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vic.c,v 1.37 2006/12/03 14:52:45 reyk Exp $ */
+/* $OpenBSD: if_vic.c,v 1.38 2006/12/14 10:10:20 dlg Exp $ */
/*
* Copyright (c) 2006 Reyk Floeter <reyk@openbsd.org>
@@ -231,7 +231,6 @@ struct vic_data {
#define VIC_QUEUE_SIZE VIC_NBUF_MAX
#define VIC_QUEUE2_SIZE 1
#define VIC_INC(_x, _y) (_x) = ((_x) + 1) % (_y)
-#define VIC_INC_POS(_x, _y) (_x) = (++(_x)) % (_y) ? (_x) : 1
#define VIC_TX_TIMEOUT 5
#define VIC_MIN_FRAMELEN (ETHER_MIN_LEN - ETHER_CRC_LEN)