aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/padata.h
diff options
context:
space:
mode:
authorDaniel Jordan <daniel.m.jordan@oracle.com>2020-07-14 16:13:51 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2020-07-23 17:34:17 +1000
commitbd25b4886ddcebec92591f298ce2ce345d7f2ea9 (patch)
tree2a8e8bcfbdc63ddb9106b710312a7cbb34c5df43 /include/linux/padata.h
parentcrypto: qat - fix double free in qat_uclo_create_batch_init_list (diff)
downloadlinux-dev-bd25b4886ddcebec92591f298ce2ce345d7f2ea9.tar.xz
linux-dev-bd25b4886ddcebec92591f298ce2ce345d7f2ea9.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 'include/linux/padata.h')
-rw-r--r--include/linux/padata.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/padata.h b/include/linux/padata.h
index 7302efff5e65..20294cddc739 100644
--- a/include/linux/padata.h
+++ b/include/linux/padata.h
@@ -204,6 +204,5 @@ extern void padata_do_serial(struct padata_priv *padata);
extern void __init padata_do_multithreaded(struct padata_mt_job *job);
extern int padata_set_cpumask(struct padata_instance *pinst, int cpumask_type,
cpumask_var_t cpumask);
-extern int padata_start(struct padata_instance *pinst);
extern void padata_stop(struct padata_instance *pinst);
#endif