cryptsetup: no need to zero-initialize zero-initialized structures
This commit is contained in:
parent
f200a3564c
commit
0e3cb57dae
|
@ -369,9 +369,6 @@ static crypto_device *get_crypto_device(const char *uuid) {
|
|||
if (!d)
|
||||
return NULL;
|
||||
|
||||
d->create = false;
|
||||
d->keyfile = d->options = d->name = NULL;
|
||||
|
||||
d->uuid = strdup(uuid);
|
||||
if (!d->uuid)
|
||||
return mfree(d);
|
||||
|
|
Loading…
Reference in New Issue