• Steven Rostedt's avatar
    tracing/drm: Remove unused TRACE_SYSTEM_STRING define · 77cb2fea
    Steven Rostedt authored
    The tracing infrastructure is adding a macro TRACE_SYSTEM_STRING, and
    hit the following build failure:
    
       In file included from include/trace/define_trace.h:90:0,
                        from drivers/gpu/drm/.//radeon/radeon_trace.h:209,
                        from drivers/gpu/drm/.//radeon/radeon_trace_points.c:9:
    >> include/trace/ftrace.h:28:0: warning: "TRACE_SYSTEM_STRING" redefined
        #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name)
    
    Seems that the DRM folks have added their own use to the
    TRACE_SYSTEM_STRING, with:
    
     #define TRACE_SYSTEM_STRING __stringify(TRACE_SYSTEM)
    
    Although, I can not find its use anywhere. I could simply use another
    name, but if this macro is not being used, it should be removed.
    
    Link: http://lkml.kernel.org/r/20150402123736.01eda052@gandalf.local.home
    
    Cc: Alex Deucher <alexander.deucher@amd.com>
    Cc: Christian König <christian.koenig@amd.com>
    Cc: David Airlie <airlied@linux.ie>
    Cc: Daniel Vetter <danie...
    77cb2fea
drm_trace.h 1.61 KB