]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/gud: Remove unnecessary logging
authorRuben Wauters <rubenru09@aol.com>
Mon, 21 Jul 2025 23:22:03 +0000 (00:22 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 11 Aug 2025 15:18:24 +0000 (17:18 +0200)
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
drivers/gpu/drm/gud/gud_drv.c

index 5385a2126e45f568b55f15ca193fcf2e4be25c31..b52a12cbba3e4374f2c98f63476d54aaa9676cb6 100644 (file)
@@ -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);