The branch main has been updated by markj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=ba34de1b3bf965d15f6c76c97fa7e6d17194d401

commit ba34de1b3bf965d15f6c76c97fa7e6d17194d401
Author:     Mark Johnston <[email protected]>
AuthorDate: 2023-02-09 20:51:11 +0000
Commit:     Mark Johnston <[email protected]>
CommitDate: 2023-02-09 21:14:33 +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
---
 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 7327bf6f40be..9f5fc124f4ff 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;

Reply via email to