Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/miscfs/genfs Unused variable.



details:   https://anonhg.NetBSD.org/src/rev/77b77b5605df
branches:  trunk
changeset: 970166:77b77b5605df
user:      ad <ad%NetBSD.org@localhost>
date:      Sat Mar 14 19:07:22 2020 +0000

description:
Unused variable.

diffstat:

 sys/miscfs/genfs/genfs_io.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 7e9f1168883f -r 77b77b5605df sys/miscfs/genfs/genfs_io.c
--- a/sys/miscfs/genfs/genfs_io.c       Sat Mar 14 18:24:10 2020 +0000
+++ b/sys/miscfs/genfs/genfs_io.c       Sat Mar 14 19:07:22 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: genfs_io.c,v 1.90 2020/03/14 18:08:39 ad Exp $ */
+/*     $NetBSD: genfs_io.c,v 1.91 2020/03/14 19:07:22 ad Exp $ */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1993
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfs_io.c,v 1.90 2020/03/14 18:08:39 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfs_io.c,v 1.91 2020/03/14 19:07:22 ad Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -884,7 +884,6 @@
        bool wasclean, needs_clean;
        bool async = (origflags & PGO_SYNCIO) == 0;
        bool pagedaemon = curlwp == uvm.pagedaemon_lwp;
-       struct lwp * const l = curlwp ? curlwp : &lwp0;
        struct mount *trans_mp;
        int flags;
        bool modified;          /* if we write out any pages */



Home | Main Index | Thread Index | Old Index