diff options
author | dim <dim@FreeBSD.org> | 2013-10-08 18:09:00 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2013-10-08 18:09:00 +0000 |
commit | a0450dc1cc327a14d4fdf7d4b39611196ca82a59 (patch) | |
tree | 419f6521a36d8085a1e2b6e9e53ef0a85aa67dca /usr.sbin | |
parent | ecbbed9b9e6d00633773f3e840bee51e01e4cef7 (diff) | |
download | FreeBSD-src-a0450dc1cc327a14d4fdf7d4b39611196ca82a59.zip FreeBSD-src-a0450dc1cc327a14d4fdf7d4b39611196ca82a59.tar.gz |
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)
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bhyve/bhyverun.c | 11 |
1 files changed, 0 insertions, 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++; |