From 0ea6510aa006dc88f91fa5f666bfe8943eda4a24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Wed, 16 Feb 2022 15:29:35 +0100 Subject: [PATCH] module: icp: remove useless assert MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Which produces a warning since uints are, by definition, >=0 Reviewed-by: Alejandro Colomar Reviewed-by: Brian Behlendorf Signed-off-by: Ahelenia ZiemiaƄska Closes #13110 --- module/icp/core/kcf_prov_tabs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/module/icp/core/kcf_prov_tabs.c b/module/icp/core/kcf_prov_tabs.c index 636c97f18..029d0526e 100644 --- a/module/icp/core/kcf_prov_tabs.c +++ b/module/icp/core/kcf_prov_tabs.c @@ -136,8 +136,6 @@ kcf_prov_tab_rem_provider(crypto_provider_id_t prov_id) { kcf_provider_desc_t *prov_desc; - ASSERT(prov_tab_num >= 0); - /* * Validate provider id, since it can be specified by a 3rd-party * provider.