diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-12-07 11:34:08 (GMT) |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-12-07 20:18:28 (GMT) |
commit | ffb4728095b030f0885ea8e0907ee4ac57b130ee (patch) | |
tree | 9b2ae5842350467486bb3533924ff083dc2b7d8b /drivers | |
parent | 85364905f9ae12d19cb34099257d493e5d9a0c4e (diff) | |
download | linux-fsl-qoriq-ffb4728095b030f0885ea8e0907ee4ac57b130ee.tar.xz |
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 <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 214fb18..fd53639 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; |