summaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-06-07 17:55:56 +0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-06-13 00:16:05 +0400
commit9b990de76ced807b2d92a601fb7f03863b632c58 (patch)
treed189818eb61625b08b60612b9775635532da9b15 /drivers/char
parent0b9f43a0ee7e89013a3d913ce556715fd8acb674 (diff)
downloadlinux-9b990de76ced807b2d92a601fb7f03863b632c58.tar.xz
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')
-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;