From 0f53900862e0bcffc3db53a83ec52d550813dca0 Mon Sep 17 00:00:00 2001 From: Andres Salomon Date: Tue, 17 Nov 2009 14:41:23 -0800 Subject: [PATCH] --- yaml --- r: 174481 b: refs/heads/master c: 420a457088669e055e767dfb8468909cd1799cf9 h: refs/heads/master i: 174479: b6ff25b224ea209ae787ca16fcb5a334c89ac948 v: v3 --- [refs] | 2 +- trunk/include/drm/drmP.h | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/[refs] b/[refs] index 1422f5e2a314..644d89d0caa7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4a9216453c8537a7f43a3b1708509b9dd271dc9f +refs/heads/master: 420a457088669e055e767dfb8468909cd1799cf9 diff --git a/trunk/include/drm/drmP.h b/trunk/include/drm/drmP.h index b0b36838ab11..4977fa9038d9 100644 --- a/trunk/include/drm/drmP.h +++ b/trunk/include/drm/drmP.h @@ -245,16 +245,6 @@ extern void drm_ut_debug_printk(unsigned int request_level, #endif -#define DRM_PROC_LIMIT (PAGE_SIZE-80) - -#define DRM_PROC_PRINT(fmt, arg...) \ - len += sprintf(&buf[len], fmt , ##arg); \ - if (len > DRM_PROC_LIMIT) { *eof = 1; return len - offset; } - -#define DRM_PROC_PRINT_RET(ret, fmt, arg...) \ - len += sprintf(&buf[len], fmt , ##arg); \ - if (len > DRM_PROC_LIMIT) { ret; *eof = 1; return len - offset; } - /*@}*/ /***********************************************************************/