cryptsetup: no need to zero-initialize zero-initialized structures

This commit is contained in:
Lennart Poettering 2019-07-16 11:54:12 +02:00
parent f200a3564c
commit 0e3cb57dae
1 changed files with 0 additions and 3 deletions

View File

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