From ffec9e70c2a081dd1b7484b634805011fe883d2b Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 29 Jul 2006 11:31:22 +0000 Subject: Do not redefine ALIGNED_POINTER, it comes from --- sys/dev/ic/ne2000.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'sys/dev/ic') diff --git a/sys/dev/ic/ne2000.c b/sys/dev/ic/ne2000.c index 255b648dc05..33ad2aea13c 100644 --- a/sys/dev/ic/ne2000.c +++ b/sys/dev/ic/ne2000.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ne2000.c,v 1.16 2006/07/09 16:00:48 miod Exp $ */ +/* $OpenBSD: ne2000.c,v 1.17 2006/07/29 11:31:20 miod Exp $ */ /* $NetBSD: ne2000.c,v 1.12 1998/06/10 01:15:50 thorpej Exp $ */ /*- @@ -547,12 +547,6 @@ ne2000_write_mbuf(sc, m, buf) savebyte, 2); #endif leftover = 0; -#ifdef i386 -#define ALIGNED_POINTER(p,t) 1 -#endif -#ifdef alpha -#define ALIGNED_POINTER(p,t) ((((u_long)(p)) & (sizeof(t)-1)) == 0) -#endif } else if (ALIGNED_POINTER(data, u_int16_t) == 0) { /* -- cgit v1.2.3