]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/char/agp/intel-gtt.c
drm/radeon/kms: attempt to avoid copying data twice on coherent cards. (v3)
[karo-tx-linux.git] / drivers / char / agp / intel-gtt.c
index f493546b2d45817e46cefae23eed871d214df0d9..7f025fb620dee36135bcb9235d86164e48b62b10 100644 (file)
@@ -1190,7 +1190,6 @@ static inline int needs_idle_maps(void)
 {
 #ifdef CONFIG_INTEL_IOMMU
        const unsigned short gpu_devid = intel_private.pcidev->device;
-       extern int intel_iommu_gfx_mapped;
 
        /* Query intel_iommu to see if we need the workaround. Presumably that
         * was loaded first.