]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/cryptsetup/cryptsetup.c
tree-wide: drop {} from one-line if blocks
[thirdparty/systemd.git] / src / cryptsetup / cryptsetup.c
index 74fa90a233632030df7c991357e57bc9c61c0bfe..5d5872b7f4b3b58b8fcdefd1c10f581ebfa1e9e8 100644 (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);