diff options
| author | Daniel Jordan <[email protected]> | 2020-07-14 16:13:52 -0400 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2020-07-23 17:34:18 +1000 |
| commit | 350ef051d4edd884e8dea0be9f3685b4b32142fb (patch) | |
| tree | 5892a130131480d800ff0c6c5e7fcc753fbe7228 /include/linux | |
| parent | bd25b4886ddcebec92591f298ce2ce345d7f2ea9 (diff) | |
padata: remove stop function
padata_stop() has two callers and is unnecessary in both cases. When
pcrypt calls it before padata_free(), it's being unloaded so there are
no outstanding padata jobs[0]. When __padata_free() calls it, it's
either along the same path or else pcrypt initialization failed, which
of course means there are also no outstanding jobs.
Removing it simplifies padata and saves text.
[0] https://lore.kernel.org/linux-crypto/[email protected]/
Signed-off-by: Daniel Jordan <[email protected]>
Cc: Herbert Xu <[email protected]>
Cc: Steffen Klassert <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/padata.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/padata.h b/include/linux/padata.h index 20294cddc739..7d53208b43da 100644 --- a/include/linux/padata.h +++ b/include/linux/padata.h @@ -204,5 +204,4 @@ 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 void padata_stop(struct padata_instance *pinst); #endif |