svn commit: r281569 - stable/9/usr.sbin/bluetooth/bthidd

Raphael Kubo da Costa rakuco at FreeBSD.org
Wed Apr 15 22:17:17 UTC 2015


Author: rakuco (ports committer)
Date: Wed Apr 15 22:17:16 2015
New Revision: 281569
URL: https://svnweb.freebsd.org/changeset/base/281569

Log:
  MFC r281146.
  
  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

Modified:
  stable/9/usr.sbin/bluetooth/bthidd/hid.c
Directory Properties:
  stable/9/usr.sbin/bluetooth/bthidd/   (props changed)

Modified: stable/9/usr.sbin/bluetooth/bthidd/hid.c
==============================================================================
--- stable/9/usr.sbin/bluetooth/bthidd/hid.c	Wed Apr 15 22:15:23 2015	(r281568)
+++ stable/9/usr.sbin/bluetooth/bthidd/hid.c	Wed Apr 15 22:17:16 2015	(r281569)
@@ -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-all mailing list