tree-wide: drop {} from one-line if blocks

Patch via coccinelle.
This commit is contained in:
Lennart Poettering
2015-09-09 08:20:20 +02:00
parent 76ef789d26
commit ece174c543
35 changed files with 56 additions and 80 deletions
+1 -2
View File
@@ -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);