summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-02-14 04:55:56 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-02-14 04:55:56 +0000
commitd609f447fc508228767f46a7722ce891210b002b (patch)
treedd00fea0b3d5e449fd6e93e8f64bb27655c0cd21 /sys/dev
parent88c4eba91c3f81d8dddaf477b653d5870c187ad3 (diff)
remove unused code
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/radeon/radeon_kms.c4
1 files changed, 0 insertions, 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;