git: c75c1d2df9b3 - main - vmci: Avoid relying on macro expansion to provide correct syntax

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Wed, 03 Nov 2021 15:22:46 UTC
The branch main has been updated by markj:

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

commit c75c1d2df9b3839319f6b5e2fad0b757eebd9c55
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2021-11-03 15:19:53 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2021-11-03 15:22:40 +0000

    vmci: Avoid relying on macro expansion to provide correct syntax
    
    No functional change intended.
    
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
---
 sys/dev/vmware/vmci/vmci_kernel_if.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/vmware/vmci/vmci_kernel_if.c b/sys/dev/vmware/vmci/vmci_kernel_if.c
index de54a8d1ca4f..f66e63f56fc7 100644
--- a/sys/dev/vmware/vmci/vmci_kernel_if.c
+++ b/sys/dev/vmware/vmci/vmci_kernel_if.c
@@ -70,7 +70,7 @@ void
 vmci_cleanup_lock(vmci_lock *lock)
 {
 
-	if mtx_initialized(lock)
+	if (mtx_initialized(lock))
 		mtx_destroy(lock);
 }