git: a48de695e69e - stable/13 - sys_setpgid(): style, remove extra ()s

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Tue, 11 Jul 2023 00:46:23 UTC
The branch stable/13 has been updated by kib:

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

commit a48de695e69ea43d70669bf0cfa71aa913675c96
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-07-07 16:59:41 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-07-11 00:46:02 +0000

    sys_setpgid(): style, remove extra ()s
    
    (cherry picked from commit ed84cb591df70b860f988c455d70731e6df15186)
---
 sys/kern/kern_prot.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c
index 9710f6ca1fe0..cf88cae3a72d 100644
--- a/sys/kern/kern_prot.c
+++ b/sys/kern/kern_prot.c
@@ -454,7 +454,7 @@ sys_setpgid(struct thread *td, struct setpgid_args *uap)
 	}
 done:
 	sx_xunlock(&proctree_lock);
-	KASSERT((error == 0) || (newpgrp != NULL),
+	KASSERT(error == 0 || newpgrp != NULL,
 	    ("setpgid failed and newpgrp is NULL"));
 	uma_zfree(pgrp_zone, newpgrp);
 	return (error);