diff --git a/drivers/gpu/drm/drm_stub.c b/drivers/gpu/drm/drm_stub.c index 81ed83288557f2c803e3732844ea524849eee35a..0b1a912e1b93445c7d5c314df5fc25461849368e 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); }