Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/ufs drop unused



details:   https://anonhg.NetBSD.org/src/rev/6c580a8d7266
branches:  trunk
changeset: 997164:6c580a8d7266
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Feb 25 00:51:24 2019 +0000

description:
drop unused

diffstat:

 sys/ufs/ufs/ufs_vnops.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 7706a0302326 -r 6c580a8d7266 sys/ufs/ufs/ufs_vnops.c
--- a/sys/ufs/ufs/ufs_vnops.c   Mon Feb 25 00:11:13 2019 +0000
+++ b/sys/ufs/ufs/ufs_vnops.c   Mon Feb 25 00:51:24 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ufs_vnops.c,v 1.244 2019/02/25 00:11:13 christos Exp $ */
+/*     $NetBSD: ufs_vnops.c,v 1.245 2019/02/25 00:51:24 christos Exp $ */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ufs_vnops.c,v 1.244 2019/02/25 00:11:13 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ufs_vnops.c,v 1.245 2019/02/25 00:51:24 christos Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ffs.h"
@@ -1246,7 +1246,7 @@
        size_t          numcookies, maxcookies;
        /* disk buffer */
        off_t           physstart, physend;
-       size_t          skipstart, dropend;
+       size_t          skipstart;
        char            *rawbuf;
        size_t          rawbufmax, rawbytes;
        struct uio      rawuio;
@@ -1277,7 +1277,6 @@
        }
 
        skipstart = startoffset - physstart;
-       dropend = endoffset - physend;
 
        /* how much to actually read */
        rawbufmax = callerbytes + skipstart;



Home | Main Index | Thread Index | Old Index