From a41ab41b704ace5a82efada9acd76965c6274078 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Fri, 4 Apr 2014 21:45:37 +0200 Subject: [PATCH] cleanup: reindent return Since the return here is the only path, reindent for readability. --- libdm/libdm-common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libdm/libdm-common.c b/libdm/libdm-common.c index 5c8b49c1f..f404c6343 100644 --- a/libdm/libdm-common.c +++ b/libdm/libdm-common.c @@ -1595,8 +1595,8 @@ int dm_set_sysfs_dir(const char *sysfs_dir) _sysfs_dir[0] = '\0'; return 1; } - else - return _canonicalize_and_set_dir(sysfs_dir, NULL, sizeof _sysfs_dir, _sysfs_dir); + + return _canonicalize_and_set_dir(sysfs_dir, NULL, sizeof _sysfs_dir, _sysfs_dir); } const char *dm_sysfs_dir(void)