From: Chris Wilson Date: Mon, 7 Dec 2009 11:34:08 +0000 (+0000) Subject: drm/i915: Drop a some common DRM_ERROR() X-Git-Tag: MMI-PSA29.97-13-9~25013^2~86^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ffb4728095b030f0885ea8e0907ee4ac57b130ee;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git drm/i915: Drop a some common DRM_ERROR() These are handled by the error return being propagated to user-space and do not any add any information to the original error, so are useless. Signed-off-by: Chris Wilson Signed-off-by: Eric Anholt --- diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 214fb1864710..fd5363995044 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c @@ -3660,14 +3660,12 @@ i915_gem_execbuffer(struct drm_device *dev, void *data, i915_verify_inactive(dev, __FILE__, __LINE__); if (atomic_read(&dev_priv->mm.wedged)) { - DRM_ERROR("Execbuf while wedged\n"); mutex_unlock(&dev->struct_mutex); ret = -EIO; goto pre_mutex_err; } if (dev_priv->mm.suspended) { - DRM_ERROR("Execbuf while VT-switched.\n"); mutex_unlock(&dev->struct_mutex); ret = -EBUSY; goto pre_mutex_err;