chiark / gitweb /
logind: remove "if (0)" left-over
authorKay Sievers <kay@vrfy.org>
Tue, 16 Jul 2013 23:49:26 +0000 (01:49 +0200)
committerKay Sievers <kay@vrfy.org>
Tue, 16 Jul 2013 23:49:26 +0000 (01:49 +0200)
src/login/logind-acl.c

index 390b4b2..25abcbc 100644 (file)
@@ -275,9 +275,9 @@ int devnode_acl_all(struct udev *udev,
 
                         log_debug("Found static node %s for seat %s", n, seat);
                         r = set_put(nodes, n);
-                        if (0 && r < 0 && r != -EEXIST) {
+                        if (r < 0 && r != -EEXIST)
                                 goto finish;
-                        else
+                        else
                                 r = 0;
                 }
         }