[lvm-devel] master - cleanup: remove extraneous parentheses

Zdenek Kabelac zkabelac at fedoraproject.org
Sat May 9 07:18:23 UTC 2015


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=e047f043948758be0405ccc67c4a066e237dcbb1
Commit:        e047f043948758be0405ccc67c4a066e237dcbb1
Parent:        e587b0677b705786a78f21bac1966621f70b2752
Author:        Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate:    Fri May 8 22:58:00 2015 +0200
Committer:     Zdenek Kabelac <zkabelac at redhat.com>
CommitterDate: Sat May 9 09:17:26 2015 +0200

cleanup: remove extraneous parentheses

---
 tools/toollib.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/toollib.c b/tools/toollib.c
index ae48e7b..ca198dc 100644
--- a/tools/toollib.c
+++ b/tools/toollib.c
@@ -214,7 +214,7 @@ static int _ignore_vg(struct volume_group *vg, const char *vg_name,
 		}
 	}
 
-	if ((read_error == FAILED_CLUSTERED)) {
+	if (read_error == FAILED_CLUSTERED) {
 		*skip = 1;
 		stack;	/* Error already logged */
 		return 1;




More information about the lvm-devel mailing list