summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-08-31 22:04:32 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-09-09 17:51:30 +0200
commit36bca207462d491e5d61cefeb041acf0fce506a7 (patch)
tree5ebeb51f683eb322ae3ce6f654f24eac98e26aa8
parentdf2908090cda368b01ff43709f51890076c56157 (diff)
downloadlinux-next-36bca207462d491e5d61cefeb041acf0fce506a7.tar.gz
linux-next-36bca207462d491e5d61cefeb041acf0fce506a7.zip
ACPI: scan: Drop useless and noisy debug statement
The debug message printing statement in handle_to_device() is super-noisy because it triggers whenever the presence of an attached struct acpi_device is checked for the given object in the ACPI namespace and it turns out that there is none. That is a perfectly valid situation and the lack of an attached struct acpi_device is not particularly interesting, so drop that message. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://patch.msgid.link/2861358.mvXUDI8C0e@rafael.j.wysocki
-rw-r--r--drivers/acpi/scan.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index 163a3cccf197..ec3a802e9238 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -637,10 +637,9 @@ static struct acpi_device *handle_to_device(acpi_handle handle,
status = acpi_get_data_full(handle, acpi_scan_drop_device,
(void **)&adev, callback);
- if (ACPI_FAILURE(status) || !adev) {
- acpi_handle_debug(handle, "No context!\n");
+ if (ACPI_FAILURE(status) || !adev)
return NULL;
- }
+
return adev;
}