diff options
author | Liu Shixin <liushixin2@huawei.com> | 2021-06-11 05:01:00 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-06-17 10:07:31 +0300 |
commit | 10ff9976d06fc6a11f512755d500ab2860cbe650 (patch) | |
tree | 8beb7514deee9a88f42577a7e5b4d4ecdd81961d /include/linux/crypto.h | |
parent | 22ca9f4aaf431a9413dcc115dd590123307f274f (diff) | |
download | linux-10ff9976d06fc6a11f512755d500ab2860cbe650.tar.xz |
crypto: api - remove CRYPTOA_U32 and related functions
According to the advice of Eric and Herbert, type CRYPTOA_U32
has been unused for over a decade, so remove the code related to
CRYPTOA_U32.
After removing CRYPTOA_U32, the type of the variable attrs can be
changed from union to struct.
Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/crypto.h')
-rw-r--r-- | include/linux/crypto.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h index da5e0d74bb2f..3b9263d6122f 100644 --- a/include/linux/crypto.h +++ b/include/linux/crypto.h @@ -647,7 +647,6 @@ enum { CRYPTOA_UNSPEC, CRYPTOA_ALG, CRYPTOA_TYPE, - CRYPTOA_U32, __CRYPTOA_MAX, }; @@ -665,10 +664,6 @@ struct crypto_attr_type { u32 mask; }; -struct crypto_attr_u32 { - u32 num; -}; - /* * Transform user interface. */ |