summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Wauters <rubenru09@aol.com>2025-07-22 00:22:03 +0100
committerThomas Zimmermann <tzimmermann@suse.de>2025-08-11 17:18:24 +0200
commitfb6c2d16a46e6366cc154ade97dd466a9f595537 (patch)
tree2158d09b074e861a0e14ee5ef2a698e66ab1f912
parent08c51f5bddc81c8c97c1eb11861b0dc009e5ccd8 (diff)
drm/gud: Remove unnecessary logging
The debug logging in gud_disconnect() adds zero detail and is unnecessary, as it only prints the function name. The same functionality can be achieved by using ftrace, and is highlighted by checkpatch, stating the same. This patch removes the debug log in the gud_disconnect() function. Signed-off-by: Ruben Wauters <rubenru09@aol.com> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Link: https://lore.kernel.org/r/20250721232210.12578-1-rubenru09@aol.com
-rw-r--r--drivers/gpu/drm/gud/gud_drv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/gud/gud_drv.c b/drivers/gpu/drm/gud/gud_drv.c
index 5385a2126e45..b52a12cbba3e 100644
--- a/drivers/gpu/drm/gud/gud_drv.c
+++ b/drivers/gpu/drm/gud/gud_drv.c
@@ -620,8 +620,6 @@ static void gud_disconnect(struct usb_interface *interface)
struct gud_device *gdrm = usb_get_intfdata(interface);
struct drm_device *drm = &gdrm->drm;
- drm_dbg(drm, "%s:\n", __func__);
-
drm_kms_helper_poll_fini(drm);
drm_dev_unplug(drm);
drm_atomic_helper_shutdown(drm);