From nobody Sun Feb 13 13:07:14 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 654F919BC6CD; Sun, 13 Feb 2022 13:07:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JxSLV2JFQz3JMv; Sun, 13 Feb 2022 13:07:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644757634; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+OWrGtvyCbf8ap3emyBnGiHYb35xPGsgzIbKsphwGao=; b=fziKhkgsiKNhpimeStlYCIxzyQOg7Lh5Ru2afK926U9cp3pVYWrzVLvgtsC81JUIAxZV+7 addi0D7/iKBPR1mQWLa4PTjRAzVLC0fAnkuNmfhwucYas9l5Af30HiehJ6aJD4PwBkxXFt K4NB6ZJPx7jv8l7NQdoT6ZdtW4/RAIESQDq1ziPo5SGc20oKrXjFrBJHY1M0y8Ldv1jC24 AK6NYbP1iS1eq1gLegKWxW93aUuQOU93ZFnq+kxHR72lB/lT8Qz8Ojx1DYRYg5m1yQQ5Ck jUzaTRP0kDmqKHwRAUf+HxIZ3BsuX1TdugEDNt+UxV18neIAKR1mkcB8MHD/WA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 297451B5BF; Sun, 13 Feb 2022 13:07:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 21DD7Eb5073912; Sun, 13 Feb 2022 13:07:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21DD7EQc073911; Sun, 13 Feb 2022 13:07:14 GMT (envelope-from git) Date: Sun, 13 Feb 2022 13:07:14 GMT Message-Id: <202202131307.21DD7EQc073911@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: 29ee49f66bb1 - main - thread: remove dead store from thread_cow_update List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 29ee49f66bb166f36424f4d2968b21bf7d573fa0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644757634; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+OWrGtvyCbf8ap3emyBnGiHYb35xPGsgzIbKsphwGao=; b=yiTb4CChwbwPfOBi6TOrgB8u88tWF0d1TFdU7I5B029qDmeqfY+30r9KNDLQAUloJqUjFp VG87YHAMUukkHjNW5J9mA6XFRzvIodugUDFP4FVoxllflkfbGj4hkv7iFUesmC34rqpAXY EGgGi4haiHtNyv5/h6WlpirrdQ1pxzQc8cIkSEL838KBQX/+HYc12e/161BYZPoyvwfKgJ jFYTlXp+MURd4t1+WFmphmAIWV58scXgGbVJUDg6C5R25O2/lF8C9E8hB1tG7Q722e7wao eyFgV30pVlA1BYZxrWNxUxCzA+vc6mDWZUWgvlADcxTAQ4P04DcQJX9/6/LgbA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644757634; a=rsa-sha256; cv=none; b=se4Gw8ghbRrz5PLNDJw/MIlZ1MC2Wz/HhG8M+5qiV+pR/Ss5BWjzIaaE7dTUMFElOfDJbv lauwhwONyDkrUhRKAlhOOAUyCV/kHZzWc+hey+bmMQyujOx8UvK54LLh+lBcjkUuNPdGvV CEt98DJb8Ru/9EqXIe1BCQq/+fXWhwy3LiqVW/fLN1baZ1kBepKInuiM+cp/A754HxlODz UfEScgBmR8UMX3kwwMdPSXAOY2Gox1LS8RO9EZt9a0ZpoWPo4kDFW2hT8mFNSWHp8TF+Cw vFWCnp/2B+DrpT8gIklIxYOPB/OovVvg8rmbY84/lM42NQS7zK0qSmSC2vG2Og== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=29ee49f66bb166f36424f4d2968b21bf7d573fa0 commit 29ee49f66bb166f36424f4d2968b21bf7d573fa0 Author: Mateusz Guzik AuthorDate: 2022-02-12 19:28:57 +0000 Commit: Mateusz Guzik 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();