Message ID | 1413889294-31328-433-git-send-email-dheerajx.s.jamwal@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/gpu/drm/drm_stub.c b/drivers/gpu/drm/drm_stub.c index da0bbd9..7e62e14 100644 --- a/drivers/gpu/drm/drm_stub.c +++ b/drivers/gpu/drm/drm_stub.c @@ -108,11 +108,7 @@ void drm_ut_debug_printk(const char *prefix, vaf.fmt = format; vaf.va = &args; - if (function_name) - printk(KERN_DEBUG "[%s:%s], %pV", prefix, - function_name, &vaf); - else - printk(KERN_DEBUG "%pV", &vaf); + printk(KERN_DEBUG "[%s:%s], %pV", prefix, function_name, &vaf); va_end(args); }