From: jsg Date: Tue, 1 Oct 2024 06:46:19 +0000 (+0000) Subject: remove unused variable X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3b955f94a13b59d0814b6d4cba3b47dc93808437;p=openbsd remove unused variable --- 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)