diff options
author | Daniel Jordan <daniel.m.jordan@oracle.com> | 2020-07-14 22:13:55 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-23 09:34:18 +0200 |
commit | 3f257191d31d5eaf154ebdb696efc238837ddd51 (patch) | |
tree | 276b52b32cd3b0f8b0acbd8aac80c66d4d0d76cf /crypto/pcrypt.c | |
parent | padata: remove effective cpumasks from the instance (diff) | |
download | linux-3f257191d31d5eaf154ebdb696efc238837ddd51.tar.xz linux-3f257191d31d5eaf154ebdb696efc238837ddd51.zip |
padata: fold padata_alloc_possible() into padata_alloc()
There's no reason to have two interfaces when there's only one caller.
Removing _possible saves text and simplifies future changes.
Signed-off-by: Daniel Jordan <daniel.m.jordan@oracle.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Steffen Klassert <steffen.klassert@secunet.com>
Cc: linux-crypto@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/pcrypt.c')
-rw-r--r-- | crypto/pcrypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pcrypt.c b/crypto/pcrypt.c index 2d4ac9d44902..d569c7ed6c80 100644 --- a/crypto/pcrypt.c +++ b/crypto/pcrypt.c @@ -316,7 +316,7 @@ static int pcrypt_init_padata(struct padata_instance **pinst, const char *name) { int ret = -ENOMEM; - *pinst = padata_alloc_possible(name); + *pinst = padata_alloc(name); if (!*pinst) return ret; |