]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/udev/udev-rules.c
tree-wide: drop {} from one-line if blocks
[thirdparty/systemd.git] / src / udev / udev-rules.c
index 62e21e13a7fef044041c87c2334566518a2d63b4..822f292217ecc055a702b5ad53c212afa18c59b9 100644 (file)
@@ -672,9 +672,8 @@ static int import_parent_into_properties(struct udev_device *dev, const char *fi
                 const char *key = udev_list_entry_get_name(list_entry);
                 const char *val = udev_list_entry_get_value(list_entry);
 
-                if (fnmatch(filter, key, 0) == 0) {
+                if (fnmatch(filter, key, 0) == 0)
                         udev_device_add_property(dev, key, val);
-                }
         }
         return 0;
 }