summaryrefslogtreecommitdiff
path: root/sys/dev/dm/dm_table.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_table.c
parent1fd42d68a71292bdaac2aecbcbcb04b5dbf84865 (diff)
dm: Remove unnecessary inlining
These two don't really need to be inlined.
Diffstat (limited to 'sys/dev/dm/dm_table.c')
-rw-r--r--sys/dev/dm/dm_table.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/dm/dm_table.c b/sys/dev/dm/dm_table.c
index 1592940ab57..9caef776c99 100644
--- a/sys/dev/dm/dm_table.c
+++ b/sys/dev/dm/dm_table.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dm_table.c,v 1.18 2019/12/22 13:16:09 tkusumi Exp $ */
+/* $NetBSD: dm_table.c,v 1.19 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_table.c,v 1.18 2019/12/22 13:16:09 tkusumi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dm_table.c,v 1.19 2019/12/31 10:30:30 tkusumi Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -181,7 +181,7 @@ dm_table_destroy(dm_table_head_t *head, uint8_t table_id)
/*
* Return length of active table in device.
*/
-static inline uint64_t
+static uint64_t
dm_table_size_impl(dm_table_head_t *head, int table)
{
dm_table_t *tbl;