aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2015-04-06 12:36:24 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2015-04-06 12:36:24 +0000
commitfe4313f88763ac466ff7b957bad1c999547fbec0 (patch)
tree4fd3e07bcfc3450f9103a487ac56f96540edd89a /usr.sbin
parentfb5e95b4f6aad1df7f827375ba80071327f96965 (diff)
downloadsrc-fe4313f88763ac466ff7b957bad1c999547fbec0.tar.gz
src-fe4313f88763ac466ff7b957bad1c999547fbec0.zip
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
Notes
Notes: svn path=/head/; revision=281146
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bluetooth/bthidd/hid.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/usr.sbin/bluetooth/bthidd/hid.c b/usr.sbin/bluetooth/bthidd/hid.c
index 5eb7592da5c9..0a5ebffe4109 100644
--- a/usr.sbin/bluetooth/bthidd/hid.c
+++ b/usr.sbin/bluetooth/bthidd/hid.c
@@ -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
*/