From b9b909056c2c4588b3540fe5e5371ae74fcab626 Mon Sep 17 00:00:00 2001 From: jhb 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) { -- 2.45.0