]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udev-node: drop redundant log message
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 30 Oct 2018 04:24:57 +0000 (13:24 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 6 Nov 2018 06:45:22 +0000 (15:45 +0900)
As node_symlink() logs almost same message.

src/udev/udev-node.c

index 46445eda6a5294dbfd0e8d5cd5924ae408ac6ea0..f02f71367d9c9009cde63be6157e3f8e7387b858 100644 (file)
@@ -211,10 +211,8 @@ static int link_update(sd_device *dev, const char *slink, bool add) {
                 log_device_debug(dev, "No reference left, removing '%s'", slink);
                 if (unlink(slink) == 0)
                         (void) rmdir_parents(slink, "/");
-        } else {
-                log_device_debug(dev, "Creating link '%s' to '%s'", slink, target);
+        } else
                 (void) node_symlink(dev, target, slink);
-        }
 
         if (add)
                 do {