aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drm_stub.c
diff options
context:
space:
mode:
authorDave <airlied@linux.ie>2006-07-17 14:01:01 -0400
committerDave Airlie <airlied@linux.ie>2006-09-21 15:32:30 -0400
commit242ef0e1e7e5bb7e80c3620c1aa55168819d6fb8 (patch)
tree759bc571c641b90271c306ee37c6dfff7daffca3 /drivers/char/drm/drm_stub.c
parent3d77461ecd7fb92bb888f69478e3518b3c947ce3 (diff)
drm: remove local copies of pci bus/slot/func
The drm keeps a local copy of these for little use. Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_stub.c')
-rw-r--r--drivers/char/drm/drm_stub.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/char/drm/drm_stub.c b/drivers/char/drm/drm_stub.c
index 9a842a36bb27..96449d538e15 100644
--- a/drivers/char/drm/drm_stub.c
+++ b/drivers/char/drm/drm_stub.c
@@ -72,9 +72,6 @@ static int drm_fill_in_dev(drm_device_t * dev, struct pci_dev *pdev,
72#else 72#else
73 dev->pci_domain = 0; 73 dev->pci_domain = 0;
74#endif 74#endif
75 dev->pci_bus = pdev->bus->number;
76 dev->pci_slot = PCI_SLOT(pdev->devfn);
77 dev->pci_func = PCI_FUNC(pdev->devfn);
78 dev->irq = pdev->irq; 75 dev->irq = pdev->irq;
79 76
80 dev->maplist = drm_calloc(1, sizeof(*dev->maplist), DRM_MEM_MAPS); 77 dev->maplist = drm_calloc(1, sizeof(*dev->maplist), DRM_MEM_MAPS);