svn commit: r281146 - head/usr.sbin/bluetooth/bthidd

Raphael Kubo da Costa rakuco at FreeBSD.org
Mon Apr 6 12:36:26 UTC 2015


Author: rakuco (ports committer)
Date: Mon Apr  6 12:36:24 2015
New Revision: 281146
URL: https://svnweb.freebsd.org/changeset/base/281146

Log:
  bthidd: Remove unused macros from hid.c.
  
  ASIZE() was never used, and min() stopped being used in r207812.
  
  Differential Revision:	https://reviews.freebsd.org/D2230
  Reviewed by:	emax
  Approved by:	emax
  MFC after:	1 week

Modified:
  head/usr.sbin/bluetooth/bthidd/hid.c

Modified: head/usr.sbin/bluetooth/bthidd/hid.c
==============================================================================
--- head/usr.sbin/bluetooth/bthidd/hid.c	Mon Apr  6 12:22:41 2015	(r281145)
+++ head/usr.sbin/bluetooth/bthidd/hid.c	Mon Apr  6 12:36:24 2015	(r281146)
@@ -48,12 +48,6 @@
 #include "bthidd.h"
 #include "kbd.h"
 
-#undef	min
-#define	min(x, y)	(((x) < (y))? (x) : (y))
-
-#undef	ASIZE
-#define	ASIZE(a)	(sizeof(a)/sizeof(a[0]))
-
 /*
  * Process data from control channel
  */


More information about the svn-src-head mailing list