summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2015-04-15 22:07:51 +0000
committerrakuco <rakuco@FreeBSD.org>2015-04-15 22:07:51 +0000
commit489ab0737e2b05f1aae06dd82ce25b9f94e8d195 (patch)
treeb71376fa445d3e1c5afae3859229975f0314814a /usr.sbin
parent62386cb488bb5851e8c26f69319233cdcab89927 (diff)
downloadFreeBSD-src-489ab0737e2b05f1aae06dd82ce25b9f94e8d195.zip
FreeBSD-src-489ab0737e2b05f1aae06dd82ce25b9f94e8d195.tar.gz
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
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 5eb7592..0a5ebff 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
*/
OpenPOWER on IntegriCloud