From 4825663e4f3716779543b29a1e8aa350faa7b65b Mon Sep 17 00:00:00 2001 From: jsg Date: Tue, 9 Jan 2024 03:53:09 +0000 Subject: [PATCH] avoid unused var warning on sparc64 --- sys/dev/pci/drm/drm_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/pci/drm/drm_drv.c b/sys/dev/pci/drm/drm_drv.c index 659279c0782..c93bf7f9310 100644 --- a/sys/dev/pci/drm/drm_drv.c +++ b/sys/dev/pci/drm/drm_drv.c @@ -783,7 +783,9 @@ void *__devm_drm_dev_alloc(struct device *parent, { void *container; struct drm_device *drm; +#ifdef notyet int ret; +#endif container = kzalloc(size, GFP_KERNEL); if (!container) -- 2.20.1