summaryrefslogtreecommitdiffstats
path: root/drivers/char/agp/intel-gtt.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-06-07 15:55:56 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-06-12 22:16:05 +0200
commit9b990de76ced807b2d92a601fb7f03863b632c58 (patch)
treed189818eb61625b08b60612b9775635532da9b15 /drivers/char/agp/intel-gtt.c
parentdrm/i915: allow pipe A for lvds on gen4 (diff)
downloadlinux-9b990de76ced807b2d92a601fb7f03863b632c58.tar.xz
linux-9b990de76ced807b2d92a601fb7f03863b632c58.zip
agp/intel-gtt: remove dead code
This is a leftover from the conversion of the i81x fake agp driver over to the new intel-gtt code layoute. Reviewed-by: Jani Nikula <jani.nikula@linux.intel.com> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/char/agp/intel-gtt.c')
-rw-r--r--drivers/char/agp/intel-gtt.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/char/agp/intel-gtt.c b/drivers/char/agp/intel-gtt.c
index 1237e7575c3f..53c4c7fca10b 100644
--- a/drivers/char/agp/intel-gtt.c
+++ b/drivers/char/agp/intel-gtt.c
@@ -1556,9 +1556,6 @@ int intel_gmch_probe(struct pci_dev *pdev,
pci_set_consistent_dma_mask(intel_private.pcidev,
DMA_BIT_MASK(mask));
- /*if (bridge->driver == &intel_810_driver)
- return 1;*/
-
if (intel_gtt_init() != 0)
return 0;