summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2008-11-23 12:45:12 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2008-11-23 12:45:12 +0000
commit364e7da3503fa8f688f7d73de994cd1835396f7c (patch)
treee2a9c02123fc7384c02b7743fcd8a935a95b51ef /sys/dev/ic
parentc7ba3e6a6ebc0ed5212d46d88b304eff40501345 (diff)
sizeofa is now nitems in param.h, so dont declare my own in mpi.c it was
unused there anyway. use nitems in mpi_pci_match.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/mpi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c
index a2030df2c01..7be91c8cf7f 100644
--- a/sys/dev/ic/mpi.c
+++ b/sys/dev/ic/mpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpi.c,v 1.105 2008/11/18 21:52:39 marco Exp $ */
+/* $OpenBSD: mpi.c,v 1.106 2008/11/23 12:45:11 dlg Exp $ */
/*
* Copyright (c) 2005, 2006 David Gwynne <dlg@openbsd.org>
@@ -160,7 +160,6 @@ void mpi_refresh_sensors(void *);
#define DEVNAME(s) ((s)->sc_dev.dv_xname)
#define dwordsof(s) (sizeof(s) / sizeof(u_int32_t))
-#define sizeofa(s) (sizeof(s) / sizeof((s)[0]))
#define mpi_read_db(s) mpi_read((s), MPI_DOORBELL)
#define mpi_write_db(s, v) mpi_write((s), MPI_DOORBELL, (v))