From 2142b7840a5e0c2b6342ef94f285ac9fcf4a87ce Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Sat, 26 Apr 2003 21:21:36 +0000 Subject: Remove #if 0'd code --- linux-core/drm_proc.c | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'linux-core/drm_proc.c') diff --git a/linux-core/drm_proc.c b/linux-core/drm_proc.c index 14813722..9f4a7fae 100644 --- a/linux-core/drm_proc.c +++ b/linux-core/drm_proc.c @@ -438,31 +438,6 @@ static int DRM(_vma_info)(char *buf, char **start, off_t offset, int request, pgprot & _PAGE_GLOBAL ? 'g' : 'l' ); #endif DRM_PROC_PRINT("\n"); -#if 0 - for (i = vma->vm_start; i < vma->vm_end; i += PAGE_SIZE) { - pgd = pgd_offset(vma->vm_mm, i); - pmd = pmd_offset(pgd, i); - preempt_disable(); - pte = pte_offset_map(pmd, i); - if (pte_present(*pte)) { - address = __pa(pte_page(*pte)) - + (i & (PAGE_SIZE-1)); - DRM_PROC_PRINT(" 0x%08lx -> 0x%08lx" - " %c%c%c%c%c\n", - i, - address, - pte_read(*pte) ? 'r' : '-', - pte_write(*pte) ? 'w' : '-', - pte_exec(*pte) ? 'x' : '-', - pte_dirty(*pte) ? 'd' : '-', - pte_young(*pte) ? 'a' : '-' ); - } else { - DRM_PROC_PRINT(" 0x%08lx\n", i); - } - pte_unmap(pte); - preempt_enable(); - } -#endif } if (len > request + offset) return request; -- cgit v1.2.3