Author: dim
Date: Tue Oct  8 18:09:00 2013
New Revision: 256158
URL: http://svnweb.freebsd.org/changeset/base/256158

Log:
  After r256062, the static function fbsdrun_get_next_cpu() in
  usr.sbin/bhyve/bhyverun.c is no longer used, so remove it to silence a
  gcc warning.
  
  Approved by:  re (glebius)

Modified:
  head/usr.sbin/bhyve/bhyverun.c

Modified: head/usr.sbin/bhyve/bhyverun.c
==============================================================================
--- head/usr.sbin/bhyve/bhyverun.c      Tue Oct  8 17:26:28 2013        
(r256157)
+++ head/usr.sbin/bhyve/bhyverun.c      Tue Oct  8 18:09:00 2013        
(r256158)
@@ -217,17 +217,6 @@ fbsdrun_addcpu(struct vmctx *ctx, int vc
 }
 
 static int
-fbsdrun_get_next_cpu(int curcpu)
-{
-
-       /*
-        * Get the next available CPU. Assumes they arrive
-        * in ascending order with no gaps.
-        */
-       return ((curcpu + 1) % foundcpus);
-}
-
-static int
 vmexit_catch_reset(void)
 {
         stats.io_reset++;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to