diff options
author | Daniel Jordan <daniel.m.jordan@oracle.com> | 2020-07-14 16:13:51 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-23 17:34:17 +1000 |
commit | ea481c5089ac181c94985da2657b9d63d767187e (patch) | |
tree | 5db60721c8f8f27488ab6ff334732ce61ea714bf /crypto | |
parent | e86dff2f74f8211a81e40b0b27bd33dbc26e9205 (diff) | |
download | linux-crypto-ea481c5089ac181c94985da2657b9d63d767187e.tar.gz linux-crypto-ea481c5089ac181c94985da2657b9d63d767187e.zip |
padata: remove start function
padata_start() is only used right after pcrypt allocates an instance
with all possible CPUs, when PADATA_INVALID can't happen, so there's no
need for a separate "start" step. It can be done during allocation to
save text, make using padata easier, and avoid unneeded calls in the
future.
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 | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/pcrypt.c b/crypto/pcrypt.c index cbc383a1..fb9127ec 100644 --- a/crypto/pcrypt.c +++ b/crypto/pcrypt.c @@ -355,9 +355,6 @@ static int __init pcrypt_init(void) if (err) goto err_deinit_pencrypt; - padata_start(pencrypt); - padata_start(pdecrypt); - return crypto_register_template(&pcrypt_tmpl); err_deinit_pencrypt: |