From mboxrd@z Thu Jan 1 00:00:00 1970 From: Claude Code Review Bot To: dri-devel-reviews@example.com Subject: Claude review: drm: Drop unused drm_device_class_(un)register API Date: Tue, 05 May 2026 11:46:02 +1000 Message-ID: In-Reply-To: <20260429085726.69842-1-tvrtko.ursulin@igalia.com> References: <20260429085726.69842-1-tvrtko.ursulin@igalia.com> X-Mailer: Claude Code Patch Reviewer Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Overall Series Review Subject: drm: Drop unused drm_device_class_(un)register API Author: Tvrtko Ursulin Patches: 4 Reviewed: 2026-05-05T11:46:02.517455 --- This is a single, straightforward cleanup patch that removes dead code. The `drm_class_device_register()` and `drm_class_device_unregister()` functions have had no callers since TTM dropped its sysfs directory (commit `ed89fff97382`). The patch correctly removes both the implementations in `drm_sysfs.c` and the declarations plus the now-unneeded `struct device` forward declaration in `drm_sysfs.h`. A grep of the kernel tree confirms there are zero remaining callers. **Verdict: Looks good.** This is a clean, no-risk removal of unused exported symbols. --- Generated by Claude Code Patch Reviewer