mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-08 20:58:20 +03:00
sd-device-enumerator: drop noisy log messages
These are not for failed tasks, and provide almost no information. (cherry picked from commit 0186571c9f8ab34f003cf4eadfb70b4d60b52de3)
This commit is contained in:
parent
6e1acfe818
commit
66b060225d
@ -750,8 +750,6 @@ static int enumerator_scan_dir(
|
||||
if (!dir)
|
||||
return -errno;
|
||||
|
||||
log_debug("sd-device-enumerator: Scanning %s", path);
|
||||
|
||||
FOREACH_DIRENT_ALL(de, dir, return -errno) {
|
||||
int k;
|
||||
|
||||
@ -957,8 +955,6 @@ static int enumerator_scan_devices_children(sd_device_enumerator *enumerator) {
|
||||
static int enumerator_scan_devices_all(sd_device_enumerator *enumerator) {
|
||||
int k, r = 0;
|
||||
|
||||
log_debug("sd-device-enumerator: Scan all dirs");
|
||||
|
||||
k = enumerator_scan_dir(enumerator, "bus", "devices", NULL);
|
||||
if (k < 0)
|
||||
r = log_debug_errno(k, "sd-device-enumerator: Failed to scan /sys/bus: %m");
|
||||
|
Loading…
x
Reference in New Issue
Block a user