Date: Mon, 6 Apr 2015 12:36:25 +0000 (UTC) From: Raphael Kubo da Costa <rakuco@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r281146 - head/usr.sbin/bluetooth/bthidd Message-ID: <201504061236.t36CaPOC005355@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504061236.t36CaPOC005355>