summaryrefslogtreecommitdiff
path: root/include/crypto/null.h
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-12-07 21:56:34 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2017-12-22 11:29:08 +0300
commit3a2d4fb51e5a96ab2a3846f9fe876750c8d14391 (patch)
treed723a67dbacf17dc07c4bf575a543019e2a0cbfa /include/crypto/null.h
parentcadc9ab50350a24140612814109e826bb0e2ae37 (diff)
downloadlinux-3a2d4fb51e5a96ab2a3846f9fe876750c8d14391.tar.xz
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.h10
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 @@
struct crypto_skcipher *crypto_get_default_null_skcipher(void);
void crypto_put_default_null_skcipher(void);
-static inline struct crypto_skcipher *crypto_get_default_null_skcipher2(void)
-{
- return crypto_get_default_null_skcipher();
-}
-
-static inline void crypto_put_default_null_skcipher2(void)
-{
- crypto_put_default_null_skcipher();
-}
-
#endif