Skip to content
Browse files

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)
  • Loading branch information...
1 parent ecbbed9 commit a0450dc1cc327a14d4fdf7d4b39611196ca82a59 @DimitryAndric DimitryAndric committed Oct 8, 2013
Showing with 0 additions and 11 deletions.
  1. +0 −11 usr.sbin/bhyve/bhyverun.c
View
11 usr.sbin/bhyve/bhyverun.c
@@ -217,17 +217,6 @@ fbsdrun_addcpu(struct vmctx *ctx, int vcpu, uint64_t rip)
}
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++;

0 comments on commit a0450dc

Please sign in to comment.
Something went wrong with that request. Please try again.