diff options
| author | Daniel Jordan <[email protected]> | 2020-07-14 16:13:55 -0400 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2020-07-23 17:34:18 +1000 |
| commit | 3f257191d31d5eaf154ebdb696efc238837ddd51 (patch) | |
| tree | 276b52b32cd3b0f8b0acbd8aac80c66d4d0d76cf /include/linux | |
| parent | d69e037bcc4a7e31fdd40ae416aa1bd768dd7d99 (diff) | |
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 <[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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/padata.h b/include/linux/padata.h index a941b96b7119..070a7d43e8af 100644 --- a/include/linux/padata.h +++ b/include/linux/padata.h @@ -192,7 +192,7 @@ extern void __init padata_init(void); static inline void __init padata_init(void) {} #endif -extern struct padata_instance *padata_alloc_possible(const char *name); +extern struct padata_instance *padata_alloc(const char *name); extern void padata_free(struct padata_instance *pinst); extern struct padata_shell *padata_alloc_shell(struct padata_instance *pinst); extern void padata_free_shell(struct padata_shell *ps); |