fusefs: fix a dead store in fuse_vnop_advlock

kevans actually caught this in the original review and I fixed it, but
then I committed an older copy of the branch.  Whoops.

Reported by:	kevans
Differential Revision:	https://reviews.freebsd.org/D29031

(cherry picked from commit 9c5aac8f2e)
This commit is contained in:
Alan Somers 2021-03-19 19:38:57 -06:00
parent 32be2332d1
commit 802271fddb

View file

@ -444,7 +444,6 @@ fuse_vnop_advlock(struct vop_advlock_args *ap)
break;
case F_UNLCK:
op = FUSE_SETLK;
flags |= F_UNLCK;
break;
default:
return EINVAL;