Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/fsck_lfs PR/50974: David Binderman: Remove unused code.
details: https://anonhg.NetBSD.org/src/rev/76debc5f1704
branches: trunk
changeset: 344241:76debc5f1704
user: christos <christos%NetBSD.org@localhost>
date: Thu Mar 17 18:56:14 2016 +0000
description:
PR/50974: David Binderman: Remove unused code.
diffstat:
sbin/fsck_lfs/setup.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 04ebd6e59e96 -r 76debc5f1704 sbin/fsck_lfs/setup.c
--- a/sbin/fsck_lfs/setup.c Thu Mar 17 18:52:26 2016 +0000
+++ b/sbin/fsck_lfs/setup.c Thu Mar 17 18:56:14 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: setup.c,v 1.60 2015/10/03 08:29:21 dholland Exp $ */
+/* $NetBSD: setup.c,v 1.61 2016/03/17 18:56:14 christos Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -163,7 +163,9 @@
int
setup(const char *dev)
{
+#ifndef VERBOSE_BLOCKMAP
long bmapsize;
+#endif
struct stat statb;
int doskipclean;
u_int64_t maxfilesize;
@@ -444,7 +446,6 @@
bmapsize = roundup(howmany(maxfsblock, NBBY), sizeof(int16_t));
blockmap = ecalloc(bmapsize, sizeof(char));
#else
- bmapsize = maxfsblock * sizeof(ino_t);
blockmap = ecalloc(maxfsblock, sizeof(ino_t));
#endif
statemap = ecalloc(maxino, sizeof(char));
Home |
Main Index |
Thread Index |
Old Index