diff options
author | Daniel Jordan <daniel.m.jordan@oracle.com> | 2020-07-14 23:13:55 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-07-23 10:34:18 +0300 |
commit | 3f257191d31d5eaf154ebdb696efc238837ddd51 (patch) | |
tree | 276b52b32cd3b0f8b0acbd8aac80c66d4d0d76cf /Documentation/core-api | |
parent | d69e037bcc4a7e31fdd40ae416aa1bd768dd7d99 (diff) | |
download | linux-3f257191d31d5eaf154ebdb696efc238837ddd51.tar.xz |
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 <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 'Documentation/core-api')
-rw-r--r-- | Documentation/core-api/padata.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/core-api/padata.rst b/Documentation/core-api/padata.rst index 771d50330e5b..35175710b43c 100644 --- a/Documentation/core-api/padata.rst +++ b/Documentation/core-api/padata.rst @@ -27,7 +27,7 @@ padata_instance structure for overall control of how jobs are to be run:: #include <linux/padata.h> - struct padata_instance *padata_alloc_possible(const char *name); + struct padata_instance *padata_alloc(const char *name); 'name' simply identifies the instance. |