summaryrefslogtreecommitdiff
path: root/sys/dev/dm/dm_dev.c
diff options
context:
space:
mode:
authortkusumi <tkusumi@NetBSD.org>2019-12-31 10:30:30 +0000
committertkusumi <tkusumi@NetBSD.org>2019-12-31 10:30:30 +0000
commitcbe8f5e725ed252bc6d4d5439e2218c7efea92b3 (patch)
tree96eb949e9371fc51366a117d06d7b3be6e5b89a8 /sys/dev/dm/dm_dev.c
parent1fd42d68a71292bdaac2aecbcbcb04b5dbf84865 (diff)
dm: Remove unnecessary inlining
These two don't really need to be inlined.
Diffstat (limited to 'sys/dev/dm/dm_dev.c')
-rw-r--r--sys/dev/dm/dm_dev.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/dm/dm_dev.c b/sys/dev/dm/dm_dev.c
index 267eb75109b..61a4d98f256 100644
--- a/sys/dev/dm/dm_dev.c
+++ b/sys/dev/dm/dm_dev.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dm_dev.c,v 1.16 2019/12/15 14:39:42 tkusumi Exp $ */
+/* $NetBSD: dm_dev.c,v 1.17 2019/12/31 10:30:30 tkusumi Exp $ */
/*
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dm_dev.c,v 1.16 2019/12/15 14:39:42 tkusumi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dm_dev.c,v 1.17 2019/12/31 10:30:30 tkusumi Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -51,7 +51,7 @@ static struct dm_dev_head dm_dev_list = TAILQ_HEAD_INITIALIZER(dm_dev_list);
static kmutex_t dm_dev_mutex;
/* dm_dev_mutex must be holdby caller before using disable_dev. */
-__inline static void
+static void
disable_dev(dm_dev_t *dmv)
{