Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ufs Remove some unneeded rename-related static const...
details: https://anonhg.NetBSD.org/src/rev/ac20f08a6c0d
branches: trunk
changeset: 767425:ac20f08a6c0d
user: dholland <dholland%NetBSD.org@localhost>
date: Mon Jul 18 06:46:05 2011 +0000
description:
Remove some unneeded rename-related static const data.
(Why didn't gcc warn that this was unused?)
diffstat:
sys/ufs/ufs/ufs_wapbl.c | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
diffs (33 lines):
diff -r 5161c1306808 -r ac20f08a6c0d sys/ufs/ufs/ufs_wapbl.c
--- a/sys/ufs/ufs/ufs_wapbl.c Mon Jul 18 06:45:47 2011 +0000
+++ b/sys/ufs/ufs/ufs_wapbl.c Mon Jul 18 06:46:05 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ufs_wapbl.c,v 1.21 2011/07/18 06:45:28 dholland Exp $ */
+/* $NetBSD: ufs_wapbl.c,v 1.22 2011/07/18 06:46:05 dholland Exp $ */
/*-
* Copyright (c) 2003,2006,2008 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ufs_wapbl.c,v 1.21 2011/07/18 06:45:28 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ufs_wapbl.c,v 1.22 2011/07/18 06:46:05 dholland Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -101,14 +101,6 @@
#include <uvm/uvm.h>
-/*
- * A virgin directory (no blushing please).
- */
-static const struct dirtemplate mastertemplate = {
- 0, 12, DT_DIR, 1, ".",
- 0, DIRBLKSIZ - 12, DT_DIR, 2, ".."
-};
-
#ifdef WAPBL_DEBUG_INODES
#error WAPBL_DEBUG_INODES: not functional before ufs_wapbl.c is updated
void
Home |
Main Index |
Thread Index |
Old Index