From owner-dev-commits-src-main@freebsd.org Mon May 31 20:03:50 2021 Return-Path: Delivered-To: dev-commits-src-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BCFCE64E5A6; Mon, 31 May 2021 20:03:50 +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 4Fv5pG510Qz4r8n; Mon, 31 May 2021 20:03:50 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 9404616278; Mon, 31 May 2021 20:03:50 +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 14VK3oZA000554; Mon, 31 May 2021 20:03:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14VK3ohc000553; Mon, 31 May 2021 20:03:50 GMT (envelope-from git) Date: Mon, 31 May 2021 20:03:50 GMT Message-Id: <202105312003.14VK3ohc000553@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: d3f7975fcb34 - main - thread_reap_barrier(): remove unused variable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d3f7975fcb346ea28dde079a9c04cff5ef20a8d7 Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for the main branch of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2021 20:03:50 -0000 The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=d3f7975fcb346ea28dde079a9c04cff5ef20a8d7 commit d3f7975fcb346ea28dde079a9c04cff5ef20a8d7 Author: Konstantin Belousov AuthorDate: 2021-05-31 20:02:00 +0000 Commit: Konstantin Belousov CommitDate: 2021-05-31 20:03:42 +0000 thread_reap_barrier(): remove unused variable Noted by: alc Sponsored by: Mellanox Technologies/NVidia Networking MFC after: 1 week --- sys/kern/kern_thread.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index b5983eb4beb7..949095a4d34e 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -719,11 +719,8 @@ thread_reap_callout_cb(void *arg __unused) void thread_reap_barrier(void) { - struct thread *td; struct task *t; - td = curthread; - /* * First do context switches to each CPU to ensure that all * PCPU pc_deadthreads are moved to zombie list.