svn commit: r256158 - head/usr.sbin/bhyve

Dimitry Andric dim at FreeBSD.org
Tue Oct 8 18:09:00 UTC 2013


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++;


More information about the svn-src-head mailing list