Skip to content

Commit

Permalink
drm: Remove the unused (and unusable) DRM_LOG_MODE()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lespiau, Damien authored and Dave Airlie committed Mar 28, 2014
1 parent 1414b76 commit 98a4823
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions include/drm/drmP.h
Original file line number Diff line number Diff line change
Expand Up @@ -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, \
Expand All @@ -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
Expand Down

0 comments on commit 98a4823

Please sign in to comment.