From 7e1a4bfab3648a83cf2f8eed01c6ac346829aa3c Mon Sep 17 00:00:00 2001 From: Leif Delgass Date: Tue, 29 Apr 2003 16:59:00 +0000 Subject: [PATCH] remove unused variables --- linux-core/drm_proc.c | 9 --------- linux/drm_proc.h | 9 --------- 2 files changed, 18 deletions(-) diff --git a/linux-core/drm_proc.c b/linux-core/drm_proc.c index 9f4a7fa..f73b7cc 100644 --- a/linux-core/drm_proc.c +++ b/linux-core/drm_proc.c @@ -379,8 +379,6 @@ static int DRM(clients_info)(char *buf, char **start, off_t offset, #if DRM_DEBUG_CODE -#define DRM_VMA_VERBOSE 0 - static int DRM(_vma_info)(char *buf, char **start, off_t offset, int request, int *eof, void *data) { @@ -388,13 +386,6 @@ static int DRM(_vma_info)(char *buf, char **start, off_t offset, int request, int len = 0; drm_vma_entry_t *pt; struct vm_area_struct *vma; -#if DRM_VMA_VERBOSE - unsigned long i; - unsigned long address; - pgd_t *pgd; - pmd_t *pmd; - pte_t *pte; -#endif #if defined(__i386__) unsigned int pgprot; #endif diff --git a/linux/drm_proc.h b/linux/drm_proc.h index 9f4a7fa..f73b7cc 100644 --- a/linux/drm_proc.h +++ b/linux/drm_proc.h @@ -379,8 +379,6 @@ static int DRM(clients_info)(char *buf, char **start, off_t offset, #if DRM_DEBUG_CODE -#define DRM_VMA_VERBOSE 0 - static int DRM(_vma_info)(char *buf, char **start, off_t offset, int request, int *eof, void *data) { @@ -388,13 +386,6 @@ static int DRM(_vma_info)(char *buf, char **start, off_t offset, int request, int len = 0; drm_vma_entry_t *pt; struct vm_area_struct *vma; -#if DRM_VMA_VERBOSE - unsigned long i; - unsigned long address; - pgd_t *pgd; - pmd_t *pmd; - pte_t *pte; -#endif #if defined(__i386__) unsigned int pgprot; #endif -- 2.7.4