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:
Ondrej Kozina
2022-01-28 13:15:18 +01:00
committed by Milan Broz
parent 46efbc0a36
commit 230b80404d
22 changed files with 88 additions and 116 deletions

View File

@@ -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;