From nobody Wed Dec 21 18:34:00 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ncht11hyfz1Ghn2; Wed, 21 Dec 2022 18:34:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ncht11FmXz40XR; Wed, 21 Dec 2022 18:34:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671647641; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dggEh/Fw9SjryUNv9DqGjXgQ5F87wCNb2CHuggSH67Y=; b=bYgGHWT4VziE6HlaSuxS7mD8z2CShuQE713cCSXpY9fvRtsK7DMyzKCL4nG5/zfi3k1asi J/TP5ijFFEWc5t1j7g6xX0KT457fVng3LbroVctuLFUfZGSBLHUdCIto6XTniHELQq5LyS weIJ/5LP4sx3amSVyR8Qpkh8uN8dQgIjhyrYShhK+P4oNeBCZxBH+LnGhA7SBkzzjROJFf 9XyAcSPYwzHq8+2hDz8d/TWojBngotOkLJZmR3eUleqAm+TmsvABKBfB6kMTefgy0JaOKb r0g/cnwcVw0ZSLpxfxAWog6LI80J73UkG7Hh07jZ7cBBPDyRMupDXTmZUj10/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671647641; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dggEh/Fw9SjryUNv9DqGjXgQ5F87wCNb2CHuggSH67Y=; b=RLdy156qwGSRjBoJlc7ZgoBXHHBe0V8CJgMTM3/rVI0kaFmCGpkvYrsZOxjsN9djgkQxC8 ZWj82G6MCoYd0xK2ihN+3O7BFS6whhwlTfPje6sX/eB8Ao0awzuiXMAiFmrKep4pD3qJER Yl2WzKUCUyNOlOyH3i3x26uJdWJT2KfijiutdriSdCX+oTz55neVue3U+zbruMmbfPW/vu rEZp5/RymujUt6AAbH4xYH5dpNYHNeGuStN5zF5cUatWr1BfQyJo+m4W2cGVC4jU41Fmjd CnRBzEpEuNGfUlQ2CI5i2CqTQtzymGC/fpnZ19V/t7GwUrPMPPHn/2wctZmFBQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671647641; a=rsa-sha256; cv=none; b=ej2Xz8XKveAkPBUnoJmDvzVIXRaPOXh1yEVgm+IZafL2eGenTRar5k6C1FaFLUR3yA+2jU gcYgyE1w4yyFZDewJA0N6+E+gGcNs3De0R86OnNLR93R10/MBnvpf3SiShbOvKO6ccA6rB MY1fRfeyUcpipnboRlPcQrcmY1Q+AXd9SMPE1SYBX4C1zF9ViaNvzqaB2HeBqfqoArwrmx NN+IMBbghCAyrxCdVy7kOhW1rc9q8mzYvsIeBts6/IERqn424ow3G10QvaLzfrcDQGbNM8 IBZ54oQeJRqdb/JcRwYCd+9dDX4ZhRHvx2DZzC08zGhIsRMYkIN50uq88AAA8w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Ncht10KqvzQLs; Wed, 21 Dec 2022 18:34:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BLIY0jx068820; Wed, 21 Dec 2022 18:34:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BLIY0D2068819; Wed, 21 Dec 2022 18:34:00 GMT (envelope-from git) Date: Wed, 21 Dec 2022 18:34:00 GMT Message-Id: <202212211834.2BLIY0D2068819@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: e7d5d2d1876a - main - bhyve: Remove unused return value from spinup_ap. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e7d5d2d1876afb429c6e1b4453bdd6d165bc5a68 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=e7d5d2d1876afb429c6e1b4453bdd6d165bc5a68 commit e7d5d2d1876afb429c6e1b4453bdd6d165bc5a68 Author: John Baldwin AuthorDate: 2022-12-21 18:31:02 +0000 Commit: John Baldwin CommitDate: 2022-12-21 18:31:02 +0000 bhyve: Remove unused return value from spinup_ap. Reviewed by: corvink, markj Differential Revision: https://reviews.freebsd.org/D37641 --- usr.sbin/bhyve/spinup_ap.c | 4 +--- usr.sbin/bhyve/spinup_ap.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/usr.sbin/bhyve/spinup_ap.c b/usr.sbin/bhyve/spinup_ap.c index 438091e564e7..e23265f8b82b 100644 --- a/usr.sbin/bhyve/spinup_ap.c +++ b/usr.sbin/bhyve/spinup_ap.c @@ -76,7 +76,7 @@ spinup_ap_realmode(struct vmctx *ctx, int newcpu, uint64_t *rip) assert(error == 0); } -int +void spinup_ap(struct vmctx *ctx, int newcpu, uint64_t rip) { int error; @@ -104,6 +104,4 @@ spinup_ap(struct vmctx *ctx, int newcpu, uint64_t rip) spinup_ap_realmode(ctx, newcpu, &rip); vm_resume_cpu(ctx, newcpu); - - return (newcpu); } diff --git a/usr.sbin/bhyve/spinup_ap.h b/usr.sbin/bhyve/spinup_ap.h index e67bac42944b..ee201427c585 100644 --- a/usr.sbin/bhyve/spinup_ap.h +++ b/usr.sbin/bhyve/spinup_ap.h @@ -31,6 +31,6 @@ #ifndef _SPINUP_AP_H_ #define _SPINUP_AP_H_ -int spinup_ap(struct vmctx *ctx, int newcpu, uint64_t rip); +void spinup_ap(struct vmctx *ctx, int newcpu, uint64_t rip); #endif