Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Nov 2016 22:03:36 +0000 (UTC)
From:      Gavin Atkinson <gavin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r308182 - head/sbin/ifconfig
Message-ID:  <201611012203.uA1M3aep061338@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gavin
Date: Tue Nov  1 22:03:36 2016
New Revision: 308182
URL: https://svnweb.freebsd.org/changeset/base/308182

Log:
  Remove MATCHOUI macro, unused since r197980.

Modified:
  head/sbin/ifconfig/ifieee80211.c

Modified: head/sbin/ifconfig/ifieee80211.c
==============================================================================
--- head/sbin/ifconfig/ifieee80211.c	Tue Nov  1 21:27:42 2016	(r308181)
+++ head/sbin/ifconfig/ifieee80211.c	Tue Nov  1 22:03:36 2016	(r308182)
@@ -2716,11 +2716,6 @@ printathie(const char *tag, const u_int8
 static void
 printmeshconf(const char *tag, const uint8_t *ie, size_t ielen, int maxlen)
 {
-#define MATCHOUI(field, oui, string)					\
-do {									\
-	if (memcmp(field, oui, 4) == 0)					\
-		printf("%s", string);					\
-} while (0)
 
 	printf("%s", tag);
 	if (verbose) {
@@ -2754,7 +2749,6 @@ do {									\
 		printf(" FORM:0x%x CAPS:0x%x>", mconf->conf_form,
 		    mconf->conf_cap);
 	}
-#undef MATCHOUI
 }
 
 static void



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611012203.uA1M3aep061338>