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)
 {
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to