udev-rule: drop unnecessary parentheses

This commit is contained in:
Yu Watanabe
2019-02-12 11:03:40 +09:00
parent ee60be466b
commit bb175a0338
+2 -2
View File
@@ -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];