From: Andres Salomon <dilin...@collabora.co.uk> i915_gem_proc.c appears to have been the last user of the DRM_PROC_* macros, and it has gone away. The macros should die as well.
Signed-off-by: Andres Salomon <dilin...@collabora.co.uk> Cc: Dave Airlie <airl...@linux.ie> Signed-off-by: Andrew Morton <a...@linux-foundation.org> --- include/drm/drmP.h | 10 ---------- 1 file changed, 10 deletions(-) diff -puN include/drm/drmP.h~drm-kill-some-unused-drm_proc-macros-from-drmph include/drm/drmP.h --- a/include/drm/drmP.h~drm-kill-some-unused-drm_proc-macros-from-drmph +++ a/include/drm/drmP.h @@ -245,16 +245,6 @@ extern void drm_ut_debug_printk(unsigned #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; } - /*...@}*/ /***********************************************************************/ _ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel