artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33aa843
)
remove unused code
author
jsg
<jsg@openbsd.org>
Mon, 14 Feb 2022 04:55:55 +0000
(
04:55
+0000)
committer
jsg
<jsg@openbsd.org>
Mon, 14 Feb 2022 04:55:55 +0000
(
04:55
+0000)
sys/dev/pci/drm/radeon/radeon_kms.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/radeon/radeon_kms.c
b/sys/dev/pci/drm/radeon/radeon_kms.c
index
590745e
..
4b82f39
100644
(file)
--- 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;