From f9f51a4a9054985ba6466496cc95011cc2864328 Mon Sep 17 00:00:00 2001 From: hannken Date: Sat, 19 Mar 2022 13:52:45 +0000 Subject: [PATCH] Remove now unused genfs_nolock(), genfs_nounlock() and genfs_noislocked(). --- sys/miscfs/genfs/genfs_vnops.c | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/sys/miscfs/genfs/genfs_vnops.c b/sys/miscfs/genfs/genfs_vnops.c index c3f5e107ab40..06b1b87d7643 100644 --- a/sys/miscfs/genfs/genfs_vnops.c +++ b/sys/miscfs/genfs/genfs_vnops.c @@ -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 -__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 #include @@ -425,30 +425,6 @@ genfs_islocked(void *v) 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) {