mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-05 16:00:05 +01:00
Remove parameters annotated by __attribute__((unused)).
Attribute unused is useless and makes code imcomprehensible when decorates internal functions not exposed via API. Let's cleanup internal funtion prototypes whenever possible.
This commit is contained in:
committed by
Milan Broz
parent
46efbc0a36
commit
230b80404d
@@ -236,7 +236,7 @@ uint64_t VERITY_hash_offset_block(struct crypt_params_verity *params)
|
||||
return hash_offset / params->hash_block_size;
|
||||
}
|
||||
|
||||
int VERITY_UUID_generate(struct crypt_device *cd __attribute__((unused)), char **uuid_string)
|
||||
int VERITY_UUID_generate(char **uuid_string)
|
||||
{
|
||||
uuid_t uuid;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user