module: icp: remove unused p[di]_flags

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12901
This commit is contained in:
наб
2021-12-24 17:04:32 +01:00
committed by Brian Behlendorf
parent d77702035a
commit f3c3a6d47e
4 changed files with 1 additions and 47 deletions
+1 -2
View File
@@ -114,8 +114,7 @@ kcf_get_mech_provider(crypto_mech_type_t mech_type, kcf_mech_entry_t **mepp,
pd = mdesc->pm_prov_desc;
if (!IS_FG_SUPPORTED(mdesc, fg) ||
!KCF_IS_PROV_USABLE(pd) ||
IS_PROVIDER_TRIED(pd, triedl) ||
(pd->pd_flags & KCF_PROV_RESTRICTED))
IS_PROVIDER_TRIED(pd, triedl))
pd = NULL;
}