git: 9b3c958930e2 - stable/13 - smb_iod_main: eliminate write only variable error
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Oct 2022 04:30:11 UTC
The branch stable/13 has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=9b3c958930e29fc585759875b2098ef50105b06b
commit 9b3c958930e29fc585759875b2098ef50105b06b
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-07-08 17:53:34 +0000
Commit: Warner Losh <imp@FreeBSD.org>
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