From nobody Thu Feb 16 22:39:35 2023 X-Original-To: dev-commits-src-all@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 4PHqd33hMYz3qRc1; Thu, 16 Feb 2023 22:39:35 +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 4PHqd335Z4z4HMd; Thu, 16 Feb 2023 22:39:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676587175; 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=9XTSf2WP9/FZf0fTJ6DWqLwZlAf/3ekPYRpRFH6qIUE=; b=YdF+hZ2AoEhN2ADR/2aaWSSst75imsUBYnQJqvqavyyRuphXghH/RsLa3iwuIOiX9q8fIe 0QngTbhLLqH/jxQOU0wuzK/8CFYEcpyiN9lsUIpRu9GuOHMpk227i2wJVuETjDIe3LevDJ oIwSAv0LrY3+IL25njpKSOMUytwpOp5RL5HqA+1eJgE5BRFpjXP+IEhga9ECBAdg92sp1u nWz0TChnhIwJcYPWOiJ1bf1rSJF+ukJQfk6MQLvQcL7wtx8LcD4wdWEDrRP+v1q3M7eo6J O+e+JchxTa9FrrsCEzWNO5zZJmymdZU3ToUsrSGlzR/hIbEdrIVQGN4RG86zeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676587175; 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=9XTSf2WP9/FZf0fTJ6DWqLwZlAf/3ekPYRpRFH6qIUE=; b=QLJYy8ZXoHO3WKwfNTXOio0BJH2uXEOjFKkCFwRaCnY6guAYNdCa52fvzDYlnfp5wbjzGF wf0xh1mceuWz49wrPfERZZxjdENu0Qdd43xovsLFt4JpT4HcJdkut6uTDDX/gcXZp2m9+V nvxFyRb7ucJzt7sauRKXMHkW+iZ6mWYw0EQCNGdnJEB2yKHEnGc6zYQ2sk14+HlIuyoSNN lj7xw05df8i3FX0uhxBonrrmE0vUwOQnzMXFlEzUB7qLT17coWKm82DeGX8J7ybdr747bN auFdql7SL6t6wDlwW+gA3YQktukJ/l3c+17NVqlBQdJd7pZnji/vA+gzEDeFqw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676587175; a=rsa-sha256; cv=none; b=lfgtrGJi9sdY3oBrbmtxP2YHf0Q3HVlyrZjaO2J9BelJRkjQVk5tzFPRytkAxft9P9GsyP Pxu8tThN1o3u2weLvNARtBVK+s2Pn7PPU9BPWgyPYYA6EpuuI23yy9jtA7uZDxqNJfamiU TYmdnnoxu/hnQT9y+Z8lXzqlCD8UXBoa5NHLk4fApBGV7vRjXglRWR3Gh3+XIuUbgsWcI6 ktWgS7U9k3ZoBBADTIYrX/j8VkEyjUpF/sE9wKsYgb8tQPCyw/mJgufOEPwTg0mmEViXcd kb5A2djaReO2pL171J+FRBAFgp2L+eucJEg47CR/2Y4XNXWbOGNOVULem1Em0g== 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 4PHqd32CRrzLLq; Thu, 16 Feb 2023 22:39:35 +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 31GMdZBZ075072; Thu, 16 Feb 2023 22:39:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31GMdZB4075071; Thu, 16 Feb 2023 22:39:35 GMT (envelope-from git) Date: Thu, 16 Feb 2023 22:39:35 GMT Message-Id: <202302162239.31GMdZB4075071@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 0b0e5ae2beaf - stable/13 - vmm: Remove an unneeded initialization of "retu" List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 0b0e5ae2beafc7c82133427c54672c4bc3df9ea9 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=0b0e5ae2beafc7c82133427c54672c4bc3df9ea9 commit 0b0e5ae2beafc7c82133427c54672c4bc3df9ea9 Author: Mark Johnston AuthorDate: 2023-02-09 20:51:11 +0000 Commit: Mark Johnston CommitDate: 2023-02-16 21:55:44 +0000 vmm: Remove an unneeded initialization of "retu" vm_handle_ipi() unconditionally initializes "retu". No functional change intended. Reviewed by: jhb, corvink MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D38446 (cherry picked from commit ba34de1b3bf965d15f6c76c97fa7e6d17194d401) --- sys/amd64/vmm/vmm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/amd64/vmm/vmm.c b/sys/amd64/vmm/vmm.c index 123d35a983c0..692b8c991310 100644 --- a/sys/amd64/vmm/vmm.c +++ b/sys/amd64/vmm/vmm.c @@ -1930,10 +1930,8 @@ restart: * VM_EXITCODE_INST_EMUL could access the apic which could transform the * exit code into VM_EXITCODE_IPI. */ - if (error == 0 && vme->exitcode == VM_EXITCODE_IPI) { - retu = false; + if (error == 0 && vme->exitcode == VM_EXITCODE_IPI) error = vm_handle_ipi(vcpu, vme, &retu); - } if (error == 0 && retu == false) goto restart;