padata: remove start function
authorDaniel Jordan <daniel.m.jordan@oracle.com>
Tue, 14 Jul 2020 20:13:51 +0000 (16:13 -0400)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 Jul 2020 07:34:17 +0000 (17:34 +1000)
commitbd25b4886ddcebec92591f298ce2ce345d7f2ea9
tree2a8e8bcfbdc63ddb9106b710312a7cbb34c5df43
parentc06c76602e03bde24ee69a2022a829127e504202
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>
crypto/pcrypt.c
include/linux/padata.h
kernel/padata.c