From nobody Fri Apr 08 00:03:46 2022 X-Original-To: dev-commits-src-main@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 A38DA1A884C5; Fri, 8 Apr 2022 00:03:47 +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 4KZJPb1Fq3z4lBm; Fri, 8 Apr 2022 00:03:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649376227; 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=SKxEYTl3BWgT6LD2Ped4Oz9Lt3HWt8LFDnywMVq8qBg=; b=aj+5W2fts/Fjkrs5lxKcuSRnHtIBJNWopXSME2CBkICQKE2V/BzxZISSekE+QRYKT4tf2Y iTtgpQYM8AZWBt1aYhOKcRkkXzP7mxgKY68iElV1OXFGLZGBkR/WuZ0GV9uzx23ilsZ1/e qZfqC5cb/alqBmXHaIRprZKehA+xpRzvpPsWGHtLucUaAsFj20YWNLRWY7iXGIAf1QoArG JrcF3VP42bZedC5jHQxWts9bl/rmNaLsg/P6OeVsfj/Jfky9sI5iHp332nVvMaNB7jBHPD WvdZj80whr9L68IZhdR3HK6fRWIQ16wkWhNCV5QH11arfvft2oC6tvT9NVJvIw== 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 890581A47F; Fri, 8 Apr 2022 00:03:46 +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 23803kRv086792; Fri, 8 Apr 2022 00:03:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23803kaC086791; Fri, 8 Apr 2022 00:03:46 GMT (envelope-from git) Date: Fri, 8 Apr 2022 00:03:46 GMT Message-Id: <202204080003.23803kaC086791@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 771e4a86131a - main - smbfs: Remove unused variable. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 771e4a86131a9173b53849a42ec094c40d931797 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649376227; 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=SKxEYTl3BWgT6LD2Ped4Oz9Lt3HWt8LFDnywMVq8qBg=; b=pEH6OzKSP7YJMevZPwt/J7GHdLQ4yVFdc+NgOYJBYR5CKmr8w0tBU/pI7lJ5kJOnh5Fisp U0lktJIPr2gml5ij7xh2NYT92unIjmqhCHXgm1rrz5ZLfhjrOvBLSOWfT/5VkqSPwwH9aA H+fEl/yZdSVHYT7hGbDI7DsXysZNYzHzcuwAcwMBtlkhj8l5gJHAhAdXX1+0rCRfwggKoW az9p5FVWeP64qc5+AdJBeoNofMNTigKlljNZyFhHYwsAfEVD+DJxi8ULy1rg/4qikM97Ef 1Dveq8oZBhxwpKxV0D1zV5AV3MsMfIQxPKe4zPdWsUfrDZDNS92LheU44tmVFg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649376227; a=rsa-sha256; cv=none; b=yAxzXMlicFnx58aJ6+icCAeK3slCpP+BvnXtb4oRamL9GHHTVtQca6kaXeYDCuDJH+pblG VFhIki6cp5AgQpHcM3qEBC1DuG/Uanlo68haHIXBTGTcE1UFrfKprMXh5Pa9tR5Nz82yNS cu1t7eU6+9+Fa2Fv+ujyZFdbk1k0qGAHKn3ey/xhxsKR6mxqCUKJVJZugOHZ2M6qcmk6SS ShKfki4Qz57eu5M5NOkcpm8rRd2N0IcopfiM9rRTqnW2kpJzU9QlTgQJ+6qUv7megdaqPT TI2F3glI3Pw+AoWKk+Vx2mgmB0wt6FU/XJVCtKCKkVttZ0MfPMrH56qmLtfjSQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=771e4a86131a9173b53849a42ec094c40d931797 commit 771e4a86131a9173b53849a42ec094c40d931797 Author: John Baldwin AuthorDate: 2022-04-08 00:01:28 +0000 Commit: John Baldwin CommitDate: 2022-04-08 00:01:28 +0000 smbfs: Remove unused variable. --- sys/fs/smbfs/smbfs_node.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/fs/smbfs/smbfs_node.c b/sys/fs/smbfs/smbfs_node.c index f7ba9ac1c1a4..1e9953f5a92a 100644 --- a/sys/fs/smbfs/smbfs_node.c +++ b/sys/fs/smbfs/smbfs_node.c @@ -230,7 +230,7 @@ int smbfs_nget(struct mount *mp, struct vnode *dvp, const char *name, int nmlen, struct smbfattr *fap, struct vnode **vpp) { - struct smbnode *dnp, *np; + struct smbnode *dnp; struct vnode *vp; int error, sep; @@ -246,7 +246,6 @@ smbfs_nget(struct mount *mp, struct vnode *dvp, const char *name, int nmlen, if (error) return error; MPASS(vp != NULL); - np = VTOSMB(vp); if (fap) smbfs_attr_cacheenter(vp, fap); *vpp = vp;