diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-08 23:03:38 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-09 08:20:20 +0200 |
commit | ece174c5439021e32ebcc858842de9586072c006 (patch) | |
tree | b469235d6c4b195a6b53c7c5d97c0e516bfb4bc6 /src/cryptsetup | |
parent | 76ef789d264f9eb7d7624b994aa6eead1dacfac4 (diff) |
tree-wide: drop {} from one-line if blocks
Patch via coccinelle.
Diffstat (limited to 'src/cryptsetup')
-rw-r--r-- | src/cryptsetup/cryptsetup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c index 74fa90a233..5d5872b7f4 100644 --- a/src/cryptsetup/cryptsetup.c +++ b/src/cryptsetup/cryptsetup.c @@ -329,12 +329,11 @@ static int get_password(const char *vol, const char *src, usec_t until, bool acc description = disk_description(src); mount_point = disk_mount_point(vol); - if (description && streq(vol, description)) { + if (description && streq(vol, description)) /* If the description string is simply the * volume name, then let's not show this * twice */ description = mfree(description); - } if (mount_point && description) r = asprintf(&name_buffer, "%s (%s) on %s", description, vol, mount_point); |