agp/intel-gtt: remove dead code
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 7 Jun 2012 13:55:56 +0000 (15:55 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 12 Jun 2012 20:16:05 +0000 (22:16 +0200)
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>
drivers/char/agp/intel-gtt.c

index 1237e7575c3f0f11df624b740a4a0e5e141e4297..53c4c7fca10bfa2b22414722ee94f9fdb56089ef 100644 (file)
@@ -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;