From bfe26b9707b642458ff8a8bb4c8d8ad71450f13c Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 15 Apr 2020 18:27:28 +0000 Subject: [PATCH] Mark eli_metadata_crypto_supported inline. This quiets warnings about it not being always used. Reported by: kevans --- sys/geom/eli/g_eli.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/geom/eli/g_eli.h b/sys/geom/eli/g_eli.h index bab8b9fb49f..1853aa17dbc 100644 --- a/sys/geom/eli/g_eli.h +++ b/sys/geom/eli/g_eli.h @@ -507,7 +507,7 @@ eli_metadata_dump(const struct g_eli_metadata *md) } #ifdef _KERNEL -static bool +static __inline bool eli_metadata_crypto_supported(const struct g_eli_metadata *md) {