aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drmP.h
diff options
context:
space:
mode:
authorLespiau, Damien <damien.lespiau@intel.com>2014-03-24 11:53:09 -0400
committerDave Airlie <airlied@redhat.com>2014-03-27 22:57:01 -0400
commit98a48237f4e61afcc4c38950e2608539eced9040 (patch)
tree0dc98b23ef433bc34dad20ed5da24405a16ccf5e /include/drm/drmP.h
parent1414b76c1e76fb32f4cf0df7ea54f129789e445f (diff)
drm: Remove the unused (and unusable) DRM_LOG_MODE()
This macro was trying to use the non existing DRM_UT_MODE debug category and looks like it should be covered by DRM_LOG_KMS(). Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drmP.h')
-rw-r--r--include/drm/drmP.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 47f956ea9d02..eddd188e9a8b 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -238,11 +238,6 @@ int drm_err(const char *func, const char *format, ...);
238 drm_ut_debug_printk(DRM_UT_KMS, NULL, \ 238 drm_ut_debug_printk(DRM_UT_KMS, NULL, \
239 NULL, fmt, ##args); \ 239 NULL, fmt, ##args); \
240 } while (0) 240 } while (0)
241#define DRM_LOG_MODE(fmt, args...) \
242 do { \
243 drm_ut_debug_printk(DRM_UT_MODE, NULL, \
244 NULL, fmt, ##args); \
245 } while (0)
246#define DRM_LOG_DRIVER(fmt, args...) \ 241#define DRM_LOG_DRIVER(fmt, args...) \
247 do { \ 242 do { \
248 drm_ut_debug_printk(DRM_UT_DRIVER, NULL, \ 243 drm_ut_debug_printk(DRM_UT_DRIVER, NULL, \
@@ -255,7 +250,6 @@ int drm_err(const char *func, const char *format, ...);
255#define DRM_DEBUG(fmt, arg...) do { } while (0) 250#define DRM_DEBUG(fmt, arg...) do { } while (0)
256#define DRM_LOG(fmt, arg...) do { } while (0) 251#define DRM_LOG(fmt, arg...) do { } while (0)
257#define DRM_LOG_KMS(fmt, args...) do { } while (0) 252#define DRM_LOG_KMS(fmt, args...) do { } while (0)
258#define DRM_LOG_MODE(fmt, arg...) do { } while (0)
259#define DRM_LOG_DRIVER(fmt, arg...) do { } while (0) 253#define DRM_LOG_DRIVER(fmt, arg...) do { } while (0)
260 254
261#endif 255#endif