summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-core/drm_proc.c9
-rw-r--r--linux/drm_proc.h9
2 files changed, 0 insertions, 18 deletions
diff --git a/linux-core/drm_proc.c b/linux-core/drm_proc.c
index 9f4a7fae..f73b7ccd 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 9f4a7fae..f73b7ccd 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