mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-21 22:32:45 +00:00
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>
This commit is contained in:
parent
22ca9f4aaf
commit
10ff9976d0
4 changed files with 6 additions and 49 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue