Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/miscfs/genfs Remove now unused genfs_nolock(), genfs_nou...
details: https://anonhg.NetBSD.org/src/rev/41a86651f02f
branches: trunk
changeset: 364371:41a86651f02f
user: hannken <hannken%NetBSD.org@localhost>
date: Sat Mar 19 13:52:45 2022 +0000
description:
Remove now unused genfs_nolock(), genfs_nounlock() and genfs_noislocked().
diffstat:
sys/miscfs/genfs/genfs_vnops.c | 28 ++--------------------------
1 files changed, 2 insertions(+), 26 deletions(-)
diffs (49 lines):
diff -r d838922cf539 -r 41a86651f02f sys/miscfs/genfs/genfs_vnops.c
--- a/sys/miscfs/genfs/genfs_vnops.c Sat Mar 19 13:52:11 2022 +0000
+++ b/sys/miscfs/genfs/genfs_vnops.c Sat Mar 19 13:52:45 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: genfs_vnops.c,v 1.216 2021/10/20 03:08:18 thorpej Exp $ */
+/* $NetBSD: genfs_vnops.c,v 1.217 2022/03/19 13:52:45 hannken Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: genfs_vnops.c,v 1.216 2021/10/20 03:08:18 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: genfs_vnops.c,v 1.217 2022/03/19 13:52:45 hannken Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -425,30 +425,6 @@
return 0;
}
-/*
- * Stubs to use when there is no locking to be done on the underlying object.
- */
-int
-genfs_nolock(void *v)
-{
-
- return (0);
-}
-
-int
-genfs_nounlock(void *v)
-{
-
- return (0);
-}
-
-int
-genfs_noislocked(void *v)
-{
-
- return (0);
-}
-
int
genfs_mmap(void *v)
{
Home |
Main Index |
Thread Index |
Old Index