thread: remove dead store from thread_cow_update

This commit is contained in:
Mateusz Guzik 2022-02-12 19:28:57 +00:00
parent 91f821f8e4
commit 29ee49f66b

View File

@ -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();