svn commit: r236489 - head/sys/dev/iwn

Marius Strobl marius at FreeBSD.org
Sat Jun 2 20:00:53 UTC 2012


Author: marius
Date: Sat Jun  2 20:00:52 2012
New Revision: 236489
URL: http://svn.freebsd.org/changeset/base/236489

Log:
  Remove nitems() now that it lives in <sys/param.h> since r236486.

Modified:
  head/sys/dev/iwn/if_iwn.c

Modified: head/sys/dev/iwn/if_iwn.c
==============================================================================
--- head/sys/dev/iwn/if_iwn.c	Sat Jun  2 19:41:28 2012	(r236488)
+++ head/sys/dev/iwn/if_iwn.c	Sat Jun  2 20:00:52 2012	(r236489)
@@ -2005,8 +2005,6 @@ iwn_setregdomain(struct ieee80211com *ic
 	return 0;
 }
 
-#define nitems(_a)	(sizeof((_a)) / sizeof((_a)[0]))
-
 static void
 iwn_read_eeprom_enhinfo(struct iwn_softc *sc)
 {


More information about the svn-src-head mailing list