diff mbox

drm/radeon/kms: Silent spurious error message

Message ID 20101008143449.226ca7f6@endymion.delvare (mailing list archive)
State New, archived
Headers show

Commit Message

Jean Delvare Oct. 8, 2010, 12:34 p.m. UTC
None
diff mbox

Patch

--- linux-2.6.36-rc7.orig/drivers/gpu/drm/radeon/radeon_object.h	2010-10-08 13:32:46.000000000 +0200
+++ linux-2.6.36-rc7/drivers/gpu/drm/radeon/radeon_object.h	2010-10-08 13:33:05.000000000 +0200
@@ -124,11 +124,8 @@  static inline int radeon_bo_wait(struct
 	int r;
 
 	r = ttm_bo_reserve(&bo->tbo, true, no_wait, false, 0);
-	if (unlikely(r != 0)) {
-		if (r != -ERESTARTSYS)
-			dev_err(bo->rdev->dev, "%p reserve failed for wait\n", bo);
+	if (unlikely(r != 0))
 		return r;
-	}
 	spin_lock(&bo->tbo.lock);
 	if (mem_type)
 		*mem_type = bo->tbo.mem.mem_type;