From: Yu Watanabe Date: Wed, 30 Jan 2019 06:52:18 +0000 (+0100) Subject: udev-rule: drop unnecessary parentheses X-Git-Tag: v242~371^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb175a03381c2e3fa837c87fd1ec98289ade2f2f;p=platform%2Fupstream%2Fsystemd.git udev-rule: drop unnecessary parentheses --- diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c index b7c0699..72928e6 100644 --- a/src/udev/udev-rules.c +++ b/src/udev/udev-rules.c @@ -1605,7 +1605,7 @@ static int match_key(UdevRules *rules, struct token *token, const char *val) { switch (token->key.glob) { case GL_PLAIN: - match = (streq(key_value, val)); + match = streq(key_value, val); break; case GL_GLOB: match = (fnmatch(key_value, val, 0) == 0); @@ -1628,7 +1628,7 @@ static int match_key(UdevRules *rules, struct token *token, const char *val) { if (match) break; } else { - match = (streq(s, val)); + match = streq(s, val); break; } s = &next[1];