From a0450dc1cc327a14d4fdf7d4b39611196ca82a59 Mon Sep 17 00:00:00 2001 From: dim Date: Tue, 8 Oct 2013 18:09:00 +0000 Subject: 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) --- usr.sbin/bhyve/bhyverun.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/usr.sbin/bhyve/bhyverun.c b/usr.sbin/bhyve/bhyverun.c index 13134e3..01a5d07 100644 --- a/usr.sbin/bhyve/bhyverun.c +++ b/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++; -- cgit v1.1