Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Feb 2023 00:38:50 GMT
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5c274b362256 - main - whitespace: rewrap to match case directly above
Message-ID:  <202302030038.3130coQK020635@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by brooks:

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

commit 5c274b362256b1e0f680dacd9ef5a78bb21fedcd
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2023-02-03 00:37:31 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2023-02-03 00:37:31 +0000

    whitespace: rewrap to match case directly above
    
    It's easier to visually diff the two case blocks if there aren't
    gratutious whitespace differences.
    
    Sponsored by:   DARPA
---
 sys/kern/kern_thread.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c
index 03fb20bd81d9..ad54783dd4a9 100644
--- a/sys/kern/kern_thread.c
+++ b/sys/kern/kern_thread.c
@@ -1151,8 +1151,8 @@ restart:
 		 * boundary, TDF_ALLPROCSUSP is used to avoid immediate
 		 * un-suspend.
 		 */
-		if (TD_IS_SUSPENDED(td2) && (td2->td_flags &
-		    TDF_ALLPROCSUSP) == 0) {
+		if (TD_IS_SUSPENDED(td2) &&
+		    (td2->td_flags & TDF_ALLPROCSUSP) == 0) {
 			wakeup_swapper |= thread_unsuspend_one(td2, p, false);
 			thread_lock(td2);
 			goto restart;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302030038.3130coQK020635>