From 63036dfc3746dff5f636a3cfa5768b6acee62400 Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 14 Feb 2022 04:55:55 +0000 Subject: [PATCH] remove unused code --- sys/dev/pci/drm/radeon/radeon_kms.c | 4 ---- 1 file changed, 4 deletions(-) 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; -- 2.20.1