drm: drm_ut_debug_printk() isn't called with NULL anywmore

The DRM_LOG* macros where the only sites where drm_ut_debug_printk was
called with NULL arguments for prefix and function_name. Now that they
are gone, we can remove that case.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Lespiau, Damien 2014-03-24 15:53:16 +00:00 committed by Dave Airlie
parent a73d4e91fb
commit 1288c19fbe
1 changed files with 1 additions and 5 deletions

View File

@ -108,11 +108,7 @@ void drm_ut_debug_printk(const char *prefix,
vaf.fmt = format; vaf.fmt = format;
vaf.va = &args; vaf.va = &args;
if (function_name) printk(KERN_DEBUG "[%s:%s], %pV", prefix, function_name, &vaf);
printk(KERN_DEBUG "[%s:%s], %pV", prefix,
function_name, &vaf);
else
printk(KERN_DEBUG "%pV", &vaf);
va_end(args); va_end(args);
} }