From: jsg Date: Tue, 9 Jan 2024 03:53:09 +0000 (+0000) Subject: avoid unused var warning on sparc64 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4825663e4f3716779543b29a1e8aa350faa7b65b;p=openbsd avoid unused var warning on sparc64 --- 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)