git: e8008c0fc1a3 - stable/15 - kern/sys_process.c: remove extra ()

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sun, 16 Aug 2026 02:47:01 UTC
The branch stable/15 has been updated by kib:

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

commit e8008c0fc1a37ddd464e1f1f28024113323a299a
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-07-15 20:57:44 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-08-16 02:41:32 +0000

    kern/sys_process.c: remove extra ()
    
    (cherry picked from commit fed49793ddd197e3dd86c8456b39f569ab74b54c)
---
 sys/kern/sys_process.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c
index ccbc0b18ce70..04ec4c210e12 100644
--- a/sys/kern/sys_process.c
+++ b/sys/kern/sys_process.c
@@ -1378,7 +1378,7 @@ kern_ptrace(struct thread *td, int req, pid_t pid, void *addr, int data)
 		break;
 
 	case PT_GET_SC_RET:
-		if ((td2->td_dbgflags & (TDB_SCX)) == 0
+		if ((td2->td_dbgflags & TDB_SCX) == 0
 #ifdef COMPAT_FREEBSD32
 		    || (wrap32 && !safe)
 #endif