diff options
author | наб <[email protected]> | 2022-02-16 15:29:35 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-02-18 09:34:18 -0800 |
commit | 0ea6510aa006dc88f91fa5f666bfe8943eda4a24 (patch) | |
tree | 1e152540c84d91c15ed3adcfb1556a9d0e579a60 /module/icp/core | |
parent | 5cf3c24fd8ada1949959deb8d511eeda9bc54e5b (diff) |
module: icp: remove useless assert
Which produces a warning since uints are, by definition, >=0
Reviewed-by: Alejandro Colomar <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Closes #13110
Diffstat (limited to 'module/icp/core')
-rw-r--r-- | module/icp/core/kcf_prov_tabs.c | 2 |
1 files changed, 0 insertions, 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. |