From nobody Sun Oct 02 04:30:11 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 4Mg9xJ2H8sz4dtQL; Sun, 2 Oct 2022 04:30:12 +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 4Mg9xH4fFyz46tg; Sun, 2 Oct 2022 04:30:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664685011; 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=YDPqjYRLtloWhUk3mW9anxEeiXhO65grDNqkqFh77pk=; b=OQQduBnYG3Q2M4f0e0t9BJNgNZ8lLjui76R7EfIRK3cqxIN1jyxFoZ9ZjB/tliaJV0bfNH SDe31OBilNQ6cifHnaZHMQgpWluyHhZnI9dk8Ha+XcCgNmWKJZPTK8A6ccPvVF8yDIjzxQ pmBvWPLNIrNPPKczNypXbuKIgJhWCr+IKogYGsFdgRZes+SFG4rWNfgLZXDW87r1kyOzCo 68yYoUig88ORI0LkNNca2id8Vo8Di3f1ss1wl85Pj8ZwvdaZ3ZNiQgG4xw+/cEgLwUxM3N V6Piqq7IhaT0sJWSJ2D7ZiYwpaRhL4t5e4ut/0G7vHmxb97AMlzZ1YcEkpbu4A== 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 4Mg9xH38CjzlTg; Sun, 2 Oct 2022 04:30:11 +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 2924UB3O062557; Sun, 2 Oct 2022 04:30:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2924UBo1062554; Sun, 2 Oct 2022 04:30:11 GMT (envelope-from git) Date: Sun, 2 Oct 2022 04:30:11 GMT Message-Id: <202210020430.2924UBo1062554@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: 9b3c958930e2 - stable/13 - smb_iod_main: eliminate write only variable error 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 9b3c958930e29fc585759875b2098ef50105b06b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664685011; 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=YDPqjYRLtloWhUk3mW9anxEeiXhO65grDNqkqFh77pk=; b=CUosK96qZ4RrOPVBD2XOswxU0HhWleSHQRyAOxglg9OG85MmeQyx2ixxKoMOfJ/+nk4WEp jyzTmsJM+/NBP/Quxyroy6seoXVWGtuVhsDz8NzMZGoE0DO2qA8e5NkgFAW3d2t9f6ZHCo BuXlUCxB6iziyxzd6s9c1iBx9pPmbuEyWTQ6DvjVJIXvfBTAUAB64faF6IJ3/WYKJe8ggQ Ki4qYXef42J7weqDOQ9t2CAQOyxYTLXV63ID28wvCBItkAyIc3Yuec9E9u35qBbG388pnc DAMsZ62RKR4sLpjd29paRXJX2tfQzezm/C1ljqqIdXnuZzO0mH86CS3OdMhlZg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664685011; a=rsa-sha256; cv=none; b=Hf/JrVFHUgA6E7s3Ii2qYBFwh/DE3SE7sW2MHW9ssCbh+WJrKfJJq6MXY7ilxNu8Kgj5D7 sB7EUCCGj9TTvUnRyaOCyg433D2dOAuKyXQCvXKT5d4AJSPln6YmJHU7uLnUNMFen7lxFM Ym6PpVoy5fzb6Y3AlvHOtVi2eWPUOzldlipawQtJACNYYNo4nwd/3dB53sHJMLfvjMyZA3 jeNgyx/oiqO/V2b2jLAxoxcltJJvWyAEOLHu6G6A9HXMKCI+7h0cnGT8Bjxzeo7+vYbUka EHNrAIssWR5DKwK2aNnE0CpxrY7GGC+l5UGkfqYEg3Yy5TDO/gf9qVNGF66QoQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=9b3c958930e29fc585759875b2098ef50105b06b commit 9b3c958930e29fc585759875b2098ef50105b06b Author: Warner Losh AuthorDate: 2022-07-08 17:53:34 +0000 Commit: Warner Losh CommitDate: 2022-10-02 04:25:57 +0000 smb_iod_main: eliminate write only variable error Sponsored by: Netflix (cherry picked from commit 65ee334d112e1d19425bb59628500d0ba91ab48c) --- sys/netsmb/smb_iod.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/netsmb/smb_iod.c b/sys/netsmb/smb_iod.c index bc53d01edad4..a004d04b3bf3 100644 --- a/sys/netsmb/smb_iod.c +++ b/sys/netsmb/smb_iod.c @@ -581,10 +581,8 @@ smb_iod_main(struct smbiod *iod) /* struct smb_vc *vcp = iod->iod_vc;*/ struct smbiod_event *evp; /* struct timespec tsnow;*/ - int error; SMBIODEBUG("\n"); - error = 0; /* * Check all interesting events