Date: Sun, 13 Feb 2022 13:07:14 GMT From: Mateusz Guzik <mjg@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 29ee49f66bb1 - main - thread: remove dead store from thread_cow_update Message-ID: <202202131307.21DD7EQc073911@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=29ee49f66bb166f36424f4d2968b21bf7d573fa0 commit 29ee49f66bb166f36424f4d2968b21bf7d573fa0 Author: Mateusz Guzik <mjg@FreeBSD.org> AuthorDate: 2022-02-12 19:28:57 +0000 Commit: Mateusz Guzik <mjg@FreeBSD.org> CommitDate: 2022-02-13 13:07:08 +0000 thread: remove dead store from thread_cow_update --- sys/kern/kern_thread.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index bb724a17803e..57d235c002f0 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -856,7 +856,6 @@ thread_cow_update(struct thread *td) struct plimit *oldlimit; p = td->td_proc; - oldlimit = NULL; PROC_LOCK(p); oldcred = crcowsync(); oldlimit = lim_cowsync();
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202131307.21DD7EQc073911>