From: jsg Date: Mon, 14 Feb 2022 04:55:55 +0000 (+0000) Subject: remove unused code X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=63036dfc3746dff5f636a3cfa5768b6acee62400;p=openbsd remove unused code --- diff --git a/sys/dev/pci/drm/radeon/radeon_kms.c b/sys/dev/pci/drm/radeon/radeon_kms.c index 590745e6151..4b82f391a99 100644 --- a/sys/dev/pci/drm/radeon/radeon_kms.c +++ b/sys/dev/pci/drm/radeon/radeon_kms.c @@ -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;