diff options
author | Daniel Jordan <daniel.m.jordan@oracle.com> | 2020-07-14 16:13:55 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-23 17:34:18 +1000 |
commit | 3f257191d31d5eaf154ebdb696efc238837ddd51 (patch) | |
tree | 276b52b32cd3b0f8b0acbd8aac80c66d4d0d76cf /crypto | |
parent | d69e037bcc4a7e31fdd40ae416aa1bd768dd7d99 (diff) | |
download | linux-stable-3f257191d31d5eaf154ebdb696efc238837ddd51.tar.gz linux-stable-3f257191d31d5eaf154ebdb696efc238837ddd51.tar.bz2 linux-stable-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')
-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; |