svn commit: r365462 - head/sys/kern

Mateusz Guzik mjg at FreeBSD.org
Tue Sep 8 16:06:26 UTC 2020


Author: mjg
Date: Tue Sep  8 16:06:26 2020
New Revision: 365462
URL: https://svnweb.freebsd.org/changeset/base/365462

Log:
  vfs: drop a write-only var in vfs_periodic_msync_inactive

Modified:
  head/sys/kern/vfs_subr.c

Modified: head/sys/kern/vfs_subr.c
==============================================================================
--- head/sys/kern/vfs_subr.c	Tue Sep  8 15:39:19 2020	(r365461)
+++ head/sys/kern/vfs_subr.c	Tue Sep  8 16:06:26 2020	(r365462)
@@ -4668,11 +4668,8 @@ vfs_periodic_msync_inactive(struct mount *mp, int flag
 {
 	struct vnode *vp, *mvp;
 	struct vm_object *obj;
-	struct thread *td;
 	int lkflags, objflags;
 	bool seen_defer;
-
-	td = curthread;
 
 	lkflags = LK_EXCLUSIVE | LK_INTERLOCK;
 	if (flags != MNT_WAIT) {


More information about the svn-src-all mailing list