drm: Remove the unused (and unusable) DRM_LOG_MODE()
authorLespiau, Damien <damien.lespiau@intel.com>
Mon, 24 Mar 2014 15:53:09 +0000 (15:53 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 28 Mar 2014 02:57:01 +0000 (12:57 +1000)
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>
include/drm/drmP.h

index 47f956ea9d02fe065a2bea2de487568b4f962036..eddd188e9a8bf8dc828f062d88289998214119d1 100644 (file)
@@ -238,11 +238,6 @@ int drm_err(const char *func, const char *format, ...);
                drm_ut_debug_printk(DRM_UT_KMS, NULL,                   \
                                        NULL, fmt, ##args);             \
        } while (0)
-#define DRM_LOG_MODE(fmt, args...)                                     \
-       do {                                                            \
-               drm_ut_debug_printk(DRM_UT_MODE, NULL,                  \
-                                       NULL, fmt, ##args);             \
-       } while (0)
 #define DRM_LOG_DRIVER(fmt, args...)                                   \
        do {                                                            \
                drm_ut_debug_printk(DRM_UT_DRIVER, NULL,                \
@@ -255,7 +250,6 @@ int drm_err(const char *func, const char *format, ...);
 #define DRM_DEBUG(fmt, arg...)          do { } while (0)
 #define DRM_LOG(fmt, arg...)           do { } while (0)
 #define DRM_LOG_KMS(fmt, args...) do { } while (0)
-#define DRM_LOG_MODE(fmt, arg...) do { } while (0)
 #define DRM_LOG_DRIVER(fmt, arg...) do { } while (0)
 
 #endif