* + drm-kill-some-unused-drm_proc-macros-from-drmph.patch added to -mm tree
@ 2009-11-03 6:52 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2009-11-03 6:52 UTC (permalink / raw)
To: mm-commits; +Cc: dilinger, airlied
The patch titled
drm: kill some unused DRM_PROC macros from drmP.h
has been added to the -mm tree. Its filename is
drm-kill-some-unused-drm_proc-macros-from-drmph.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this
The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/
------------------------------------------------------
Subject: drm: kill some unused DRM_PROC macros from drmP.h
From: Andres Salomon <dilinger@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 <dilinger@collabora.co.uk>
Cc: Dave Airlie <airlied@linux.ie>
Signed-off-by: Andrew Morton <akpm@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; }
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-03 6:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-03 6:52 + drm-kill-some-unused-drm_proc-macros-from-drmph.patch added to -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.