summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2015-04-06 12:36:24 +0000
committerrakuco <rakuco@FreeBSD.org>2015-04-06 12:36:24 +0000
commite0eccb778c0469e337e0e64cf115b25c0c935ef5 (patch)
tree4fd3e07bcfc3450f9103a487ac56f96540edd89a
parent9079cdda4647a858c97d8cba261b38c03cfa86ea (diff)
downloadFreeBSD-src-e0eccb778c0469e337e0e64cf115b25c0c935ef5.zip
FreeBSD-src-e0eccb778c0469e337e0e64cf115b25c0c935ef5.tar.gz
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
-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