[Intel-gfx] [PATCH 04/12] agp/intel-gtt: remove dead code

Daniel Vetter daniel.vetter at ffwll.ch
Thu Jun 7 15:55:56 CEST 2012


This is a leftover from the conversion of the i81x fake agp driver
over to the new intel-gtt code layoute.

Signed-Off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
 drivers/char/agp/intel-gtt.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/drivers/char/agp/intel-gtt.c b/drivers/char/agp/intel-gtt.c
index 1237e75..53c4c7f 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;
 
-- 
1.7.7.6




More information about the Intel-gfx mailing list