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
@@ -124,7 +124,7 @@ int LUKS2_token_keyring_json(char *buffer, size_t buffer_size,
|
||||
return 0;
|
||||
}
|
||||
|
||||
int LUKS2_token_keyring_get(struct crypt_device *cd __attribute__((unused)), struct luks2_hdr *hdr,
|
||||
int LUKS2_token_keyring_get(struct luks2_hdr *hdr,
|
||||
int token, struct crypt_token_params_luks2_keyring *keyring_params)
|
||||
{
|
||||
json_object *jobj_token, *jobj;
|
||||
|
||||
Reference in New Issue
Block a user