summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2010-11-22 14:36:04 +0000
committerjhb <jhb@FreeBSD.org>2010-11-22 14:36:04 +0000
commit225a98d4466b7d72ce67e249a3976b499437e798 (patch)
treef7dfd5c8a0a58346558556f48ad174689cbca1ec
parentcc776ae8bd6fee288915ecbda0c4a877e65594e4 (diff)
downloadFreeBSD-src-225a98d4466b7d72ce67e249a3976b499437e798.zip
FreeBSD-src-225a98d4466b7d72ce67e249a3976b499437e798.tar.gz
Similar to mfiutil, drop local definition of powerof2() and use version
from <sys/param.h> instead.
-rw-r--r--usr.sbin/mptutil/mpt_config.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.sbin/mptutil/mpt_config.c b/usr.sbin/mptutil/mpt_config.c
index 6247bb4..d914d66 100644
--- a/usr.sbin/mptutil/mpt_config.c
+++ b/usr.sbin/mptutil/mpt_config.c
@@ -50,8 +50,6 @@ __RCSID("$FreeBSD$");
static void dump_config(CONFIG_PAGE_RAID_VOL_0 *vol);
#endif
-#define powerof2(x) ((((x)-1)&(x))==0)
-
static long
dehumanize(const char *value)
{
OpenPOWER on IntegriCloud