From cbe8f5e725ed252bc6d4d5439e2218c7efea92b3 Mon Sep 17 00:00:00 2001 From: tkusumi Date: Tue, 31 Dec 2019 10:30:30 +0000 Subject: dm: Remove unnecessary inlining These two don't really need to be inlined. --- sys/dev/dm/dm_dev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/dm/dm_dev.c') 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 -__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 #include @@ -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) { -- cgit