avoid unused var warning on sparc64
authorjsg <jsg@openbsd.org>
Tue, 9 Jan 2024 03:53:09 +0000 (03:53 +0000)
committerjsg <jsg@openbsd.org>
Tue, 9 Jan 2024 03:53:09 +0000 (03:53 +0000)
sys/dev/pci/drm/drm_drv.c

index 659279c..c93bf7f 100644 (file)
@@ -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)