summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-06-10 18:41:08 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-06-10 18:41:08 +0000
commite8f328d531ac3c6cce94de3c77dd3b98422f0a78 (patch)
treec082b9b0d9d91daccd18f32bb51caf6f8ad87a58 /sys/dev
parent4e5f650a588570a5600e90dbe17f06edf8ce98f0 (diff)
Remove (unused) CASSERT macro. Whatever it was intended to be used for, it
caused severe blood damage to laboratory animals. Not to mention swine flu.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/rtwvar.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/ic/rtwvar.h b/sys/dev/ic/rtwvar.h
index 8337581fcea..7ba22468590 100644
--- a/sys/dev/ic/rtwvar.h
+++ b/sys/dev/ic/rtwvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtwvar.h,v 1.24 2008/07/21 18:43:19 damien Exp $ */
+/* $OpenBSD: rtwvar.h,v 1.25 2009/06/10 18:41:07 miod Exp $ */
/* $NetBSD: rtwvar.h,v 1.10 2004/12/26 22:37:57 mycroft Exp $ */
/*-
@@ -180,9 +180,6 @@ struct rtw_txsoft {
#define RTW_MAXPKTSEGS 64 /* max 64 segments per Tx packet */
-#define CASSERT(cond, complaint) \
- complaint[(cond) ? 0 : -1] = complaint[(cond) ? 0 : -1]
-
/* Note well: the descriptor rings must begin on RTW_DESC_ALIGNMENT
* boundaries. I allocate them consecutively from one buffer, so
* just round up.