summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-04-16 20:37:24 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-04-16 20:37:24 +0000
commitf43c46a48d0c303f6f5297051535bcde6367aa0f (patch)
treee478c60e6eb670c96a42d042a8e2659c80e0c80e /sys
parent973343ad0db3e2c810a299a183581d4d1223fe32 (diff)
Remove assert definitions which are provided by libkern.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mac68k/dev/if_sn.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/sys/arch/mac68k/dev/if_sn.c b/sys/arch/mac68k/dev/if_sn.c
index 391faa50f52..5ddf9b36817 100644
--- a/sys/arch/mac68k/dev/if_sn.c
+++ b/sys/arch/mac68k/dev/if_sn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sn.c,v 1.43 2006/04/14 09:36:49 martin Exp $ */
+/* $OpenBSD: if_sn.c,v 1.44 2006/04/16 20:37:23 miod Exp $ */
/* $NetBSD: if_sn.c,v 1.13 1997/04/25 03:40:10 briggs Exp $ */
/*
@@ -82,23 +82,6 @@ struct cfdriver sn_cd = {
NULL, "sn", DV_IFNET
};
-#undef assert
-#undef _assert
-
-#ifdef NDEBUG
-#define assert(e) ((void)0)
-#define _assert(e) ((void)0)
-#else
-#define _assert(e) assert(e)
-#ifdef __STDC__
-#define assert(e) ((e) ? (void)0 : __assert("sn ", __FILE__, __LINE__, #e))
-#else /* PCC */
-#define assert(e) ((e) ? (void)0 : __assert("sn "__FILE__, __LINE__, "e"))
-#endif
-#endif
-
-int sndebug = 0;
-
/*
* SONIC buffers need to be aligned 16 or 32 bit aligned.
* These macros calculate and verify alignment.