Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2013 18:09:00 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r256158 - head/usr.sbin/bhyve
Message-ID:  <201310081809.r98I90Dk072137@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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++;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310081809.r98I90Dk072137>