Mark or remove unused parameters.

Mark unused parameters with proper attribute where it is a part
of API or some internal logic.

And remove other unused parameters completely.
This commit is contained in:
Milan Broz
2021-02-04 21:39:56 +01:00
parent 85f7ee59f8
commit d703301fe8
29 changed files with 104 additions and 99 deletions

View File

@@ -278,7 +278,7 @@ void tools_token_msg(int token, crypt_object_op op)
* kiB|KiB|miB|MiB|giB|GiB|tiB|TiB - 1024 base
* kb |KB |mM |MB |gB |GB |tB |TB - 1000 base
*/
int tools_string_to_size(struct crypt_device *cd, const char *s, uint64_t *size)
int tools_string_to_size(const char *s, uint64_t *size)
{
char *endp = NULL;
size_t len;