summaryrefslogtreecommitdiff
path: root/linux-core/drm_stub.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-08-19 16:55:00 +1000
committerDave Airlie <airlied@linux.ie>2006-08-19 16:55:00 +1000
commit3a681bb4c12ee1042eb31ec565a3eb2ecccddd3d (patch)
treed4cc3b0f3b10cd4ebd24f3b9721b7f83ad089783 /linux-core/drm_stub.c
parentcc71393559b94ba491059822d7cad388460a0ddf (diff)
remove local copies of pci domain/bus/slot/num
Diffstat (limited to 'linux-core/drm_stub.c')
-rw-r--r--linux-core/drm_stub.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/linux-core/drm_stub.c b/linux-core/drm_stub.c
index 25bb5f33..e4d61dcf 100644
--- a/linux-core/drm_stub.c
+++ b/linux-core/drm_stub.c
@@ -69,13 +69,7 @@ static int drm_fill_in_dev(drm_device_t * dev, struct pci_dev *pdev,
#ifdef __alpha__
dev->hose = pdev->sysdata;
- dev->pci_domain = dev->hose->bus->number;
-#else
- dev->pci_domain = 0;
#endif
- dev->pci_bus = pdev->bus->number;
- dev->pci_slot = PCI_SLOT(pdev->devfn);
- dev->pci_func = PCI_FUNC(pdev->devfn);
dev->irq = pdev->irq;
dev->maplist = drm_calloc(1, sizeof(*dev->maplist), DRM_MEM_MAPS);