Date: Tue, 5 Apr 2022 04:33:04 GMT From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: d6f698549474 - main - smb_smb_treedisconnect: eliminate write only variable mbp Message-ID: <202204050433.2354X4QA009870@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=d6f698549474982394b0d347ae72c72425cc1f32 commit d6f698549474982394b0d347ae72c72425cc1f32 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-04-05 02:40:38 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-04-05 04:30:57 +0000 smb_smb_treedisconnect: eliminate write only variable mbp Sponsored by: Netflix --- sys/netsmb/smb_smb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/netsmb/smb_smb.c b/sys/netsmb/smb_smb.c index efd1fa18ac71..29bb888fbd24 100644 --- a/sys/netsmb/smb_smb.c +++ b/sys/netsmb/smb_smb.c @@ -602,7 +602,6 @@ int smb_smb_treedisconnect(struct smb_share *ssp, struct smb_cred *scred) { struct smb_rq *rqp; - struct mbchain *mbp; int error; if (ssp->ss_tid == SMB_TID_UNKNOWN) @@ -610,7 +609,6 @@ smb_smb_treedisconnect(struct smb_share *ssp, struct smb_cred *scred) error = smb_rq_alloc(SSTOCP(ssp), SMB_COM_TREE_DISCONNECT, scred, &rqp); if (error) return error; - mbp = &rqp->sr_rq; smb_rq_wstart(rqp); smb_rq_wend(rqp); smb_rq_bstart(rqp);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204050433.2354X4QA009870>