remove unused code
authorjsg <jsg@openbsd.org>
Mon, 14 Feb 2022 04:55:55 +0000 (04:55 +0000)
committerjsg <jsg@openbsd.org>
Mon, 14 Feb 2022 04:55:55 +0000 (04:55 +0000)
sys/dev/pci/drm/radeon/radeon_kms.c

index 590745e..4b82f39 100644 (file)
@@ -630,10 +630,6 @@ radeondrm_attach_kms(struct device *parent, struct device *self, void *aux)
                        pci_conf_write(pa->pa_pc, pa->pa_tag, PCI_ROM_REG, base);
        }
 
-#ifdef notyet
-       mtx_init(&rdev->swi_lock, IPL_TTY);
-#endif
-
        /* update BUS flag */
        if (pci_get_capability(pa->pa_pc, pa->pa_tag, PCI_CAP_AGP, NULL, NULL)) {
                rdev->flags |= RADEON_IS_AGP;