diff options
author | ae <ae@FreeBSD.org> | 2014-04-17 12:22:08 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2014-04-17 12:22:08 +0000 |
commit | 327c18ea773e326cb0780ad1334caf9422e17be5 (patch) | |
tree | 2a0395742357384417fae73bcda19cb2d45d245a /sys/netsmb | |
parent | ade71ebe2c2ef00346291271997e592f871b66af (diff) | |
download | FreeBSD-src-327c18ea773e326cb0780ad1334caf9422e17be5.zip FreeBSD-src-327c18ea773e326cb0780ad1334caf9422e17be5.tar.gz |
Remove redundant unlock.
This code was removed from the opensolaris and darwin's
netsmb implementations, in DfBSD it also has been disabled.
PR: 36566, 87859, 139407, 161579, 175557, 178412, 186652
MFC after: 2 weeks
Sponsored by: Yandex LLC
Diffstat (limited to 'sys/netsmb')
-rw-r--r-- | sys/netsmb/smb_iod.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netsmb/smb_iod.c b/sys/netsmb/smb_iod.c index e4c805a..dfdd6f2 100644 --- a/sys/netsmb/smb_iod.c +++ b/sys/netsmb/smb_iod.c @@ -87,8 +87,6 @@ smb_iod_invrq(struct smbiod *iod) */ SMB_IOD_RQLOCK(iod); TAILQ_FOREACH(rqp, &iod->iod_rqlist, sr_link) { - if (rqp->sr_flags & SMBR_INTERNAL) - SMBRQ_SUNLOCK(rqp); rqp->sr_flags |= SMBR_RESTART; smb_iod_rqprocessed(rqp, ENOTCONN); } |