diff options
author | Eric Biggers <ebiggers@google.com> | 2017-12-07 13:56:34 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-12-22 03:29:08 -0500 |
commit | 3a2d4fb51e5a96ab2a3846f9fe876750c8d14391 (patch) | |
tree | d723a67dbacf17dc07c4bf575a543019e2a0cbfa /include/crypto/null.h | |
parent | cadc9ab50350a24140612814109e826bb0e2ae37 (diff) |
crypto: null - Get rid of crypto_{get,put}_default_null_skcipher2()
Since commit 499a66e6b689 ("crypto: null - Remove default null
blkcipher"), crypto_get_default_null_skcipher2() and
crypto_put_default_null_skcipher2() are the same as their non-2
equivalents. So switch callers of the "2" versions over to the original
versions and remove the "2" versions.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/null.h')
-rw-r--r-- | include/crypto/null.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/crypto/null.h b/include/crypto/null.h index 5757c0a4b321..15aeef6e30ef 100644 --- a/include/crypto/null.h +++ b/include/crypto/null.h | |||
@@ -12,14 +12,4 @@ | |||
12 | struct crypto_skcipher *crypto_get_default_null_skcipher(void); | 12 | struct crypto_skcipher *crypto_get_default_null_skcipher(void); |
13 | void crypto_put_default_null_skcipher(void); | 13 | void crypto_put_default_null_skcipher(void); |
14 | 14 | ||
15 | static inline struct crypto_skcipher *crypto_get_default_null_skcipher2(void) | ||
16 | { | ||
17 | return crypto_get_default_null_skcipher(); | ||
18 | } | ||
19 | |||
20 | static inline void crypto_put_default_null_skcipher2(void) | ||
21 | { | ||
22 | crypto_put_default_null_skcipher(); | ||
23 | } | ||
24 | |||
25 | #endif | 15 | #endif |