smb_iod_main: eliminate write only variable error

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2022-04-04 20:40:16 -06:00
parent c7761ca93e
commit 65ee334d11

View File

@ -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