Skip to contentSkip to conversation

remove debug printk from DRM suspend path

PATCH New Jesse Barnes 1 participant 1 message May 23, 2008 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove debug printk from DRM suspend path

Not sure how this snuck upstream, but it really doesn't belong there. We don't need a KERN_ERR printk in the suspend path to know what's going on (at least not anymore).

drivers/char/drm/drm_sysfs.c +0 -2
index 9a32169..af211a0 100644
@@ -34,8 +34,6 @@ static int drm_sysfs_suspend(struct device *dev, pm_message_t state)
 	struct drm_minor *drm_minor = to_drm_minor(dev);
 	struct drm_device *drm_dev = drm_minor->dev;
 
-	printk(KERN_ERR "%s\n", __func__);
-
 	if (drm_dev->driver->suspend)
 		return drm_dev->driver->suspend(drm_dev, state);