From nobody Wed Nov 24 21:25:48 2021 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 529CF18A6C1F; Wed, 24 Nov 2021 21:25:49 +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 4HzvF90R3hz3sC4; Wed, 24 Nov 2021 21:25:49 +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 DF121111F5; Wed, 24 Nov 2021 21:25:48 +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 1AOLPmJg023073; Wed, 24 Nov 2021 21:25:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AOLPmnP023072; Wed, 24 Nov 2021 21:25:48 GMT (envelope-from git) Date: Wed, 24 Nov 2021 21:25:48 GMT Message-Id: <202111242125.1AOLPmnP023072@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: 35b12b8711d0 - main - fdescfs: plug a set-but-not-unused var 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: 35b12b8711d0d20f9aba77d7f62cffa59e625b7a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637789149; 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=jh+AiQJuKlU5oUWe5lIVw+2im7xXPveT8lCsyLf5/xM=; b=HalT9d/0iXs/q6XELu5llnAe2+IcjI2g+eqFnXIGUAwdmTMQ+hZJFvp3Hl1EnSiVmv4QKf W9y8T+a9ZN0po6LmcaP22Gom/cLxM1lR53KA6U5rW0RkNek05GENB9xFea1c1dTzVTSB4D Lzs5ObPHjYnwSdKLmXmhFA0K61b3VD3exu1pNcx2LGGwghFcn5WlvezczbLKwPXujUA2lw kpyuG8b7VFne7zk3n4/q5EvQo7ISkKFaSX8ipwLzZHyc8Hem7JakcV7SaxoK0hywWBeglb T8LxoVJ5Q8xmKw/DIVaSEVdiI83XC4PWURgvm4yIEtSizPoJ3rp7To33+wyc8Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637789149; a=rsa-sha256; cv=none; b=Jycd4GR+KCVzo+U0A+5ZEamjKaAGjUuNJCELOdpceQF3n5b2dw2JU84S/Wlub1fgyLPFsp /cVAmyI7RcpdmPxYaw3xeo5C2Q2P6I76fWbuBAUrXbp8u7jdJSCK66Egkq1ysMZPhEQr5h j32GRp/2a1IsUd2GTpViCS8mLqNrrOEMsVozM9yIITJ9TpneGL6bVa0XSW/LyPk0GJruqh C6IA07kvXzQ+PiQnWkNIhE294+U9nPF34AjwBhC4bG6DaQFZfYp4ciMaWSuOWDwN4zW5p/ yGxf+jB1rbGxEKkrmfaPIZhF5Ov7FOt6CwX258JCsRJjTGMXUX421CAVL0xS7w== 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=35b12b8711d0d20f9aba77d7f62cffa59e625b7a commit 35b12b8711d0d20f9aba77d7f62cffa59e625b7a Author: Mateusz Guzik AuthorDate: 2021-11-24 21:25:24 +0000 Commit: Mateusz Guzik CommitDate: 2021-11-24 21:25:24 +0000 fdescfs: plug a set-but-not-unused var Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/fs/fdescfs/fdesc_vnops.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c index 209e3b3df4f3..d8dab3d7598c 100644 --- a/sys/fs/fdescfs/fdesc_vnops.c +++ b/sys/fs/fdescfs/fdesc_vnops.c @@ -159,10 +159,8 @@ fdesc_allocvp(fdntype ftype, unsigned fd_fd, int ix, struct mount *mp, struct fdhashhead *fc; struct fdescnode *fd, *fd2; struct vnode *vp, *vp2; - struct thread *td; int error; - td = curthread; fc = FD_NHASH(ix); loop: mtx_lock(&fdesc_hashmtx);