From 3b955f94a13b59d0814b6d4cba3b47dc93808437 Mon Sep 17 00:00:00 2001 From: jsg Date: Tue, 1 Oct 2024 06:46:19 +0000 Subject: [PATCH] remove unused variable --- sys/dev/pci/drm/drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/pci/drm/drm_drv.c b/sys/dev/pci/drm/drm_drv.c index 53352d635a9..6113fda273b 100644 --- a/sys/dev/pci/drm/drm_drv.c +++ b/sys/dev/pci/drm/drm_drv.c @@ -201,7 +201,7 @@ static void drm_minor_alloc_release(struct drm_device *dev, void *data) static int drm_minor_alloc(struct drm_device *dev, enum drm_minor_type type) { struct drm_minor *minor; - int index, r; + int r; minor = drmm_kzalloc(dev, sizeof(*minor), GFP_KERNEL); if (!minor) -- 2.20.1