svn commit: r215678 - head/usr.sbin/mptutil
John Baldwin
jhb at FreeBSD.org
Mon Nov 22 14:36:05 UTC 2010
Author: jhb
Date: Mon Nov 22 14:36:04 2010
New Revision: 215678
URL: http://svn.freebsd.org/changeset/base/215678
Log:
Similar to mfiutil, drop local definition of powerof2() and use version
from <sys/param.h> instead.
Modified:
head/usr.sbin/mptutil/mpt_config.c
Modified: head/usr.sbin/mptutil/mpt_config.c
==============================================================================
--- head/usr.sbin/mptutil/mpt_config.c Mon Nov 22 14:16:23 2010 (r215677)
+++ head/usr.sbin/mptutil/mpt_config.c Mon Nov 22 14:36:04 2010 (r215678)
@@ -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)
{
More information about the svn-src-all
mailing list