summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ttm/ttm_lock.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-05-07 14:02:01 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-07 14:02:01 -0700
commite33b3e7567f8636c61e79ff1da5ff9a6cf6562c7 (patch)
tree72f361fec4a8c81d5003b93344bf3eab3eb21775 /drivers/gpu/drm/ttm/ttm_lock.c
parente2dbe06c271f3bb2a495627980aad3d1d8ccef2a (diff)
parent8cfe92d683a0041ac8e016a0b0a487c99a78f6c1 (diff)
Merge branch 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6
* 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6: drm/ttm: Remove the ttm_bo_block_reservation() function. drm/ttm: Remove some leftover debug messages. drm/radeon: async event synchronization for drmWaitVblank
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_lock.c')
-rw-r--r--drivers/gpu/drm/ttm/ttm_lock.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_lock.c b/drivers/gpu/drm/ttm/ttm_lock.c
index 3d172ef04ee..de41e55a944 100644
--- a/drivers/gpu/drm/ttm/ttm_lock.c
+++ b/drivers/gpu/drm/ttm/ttm_lock.c
@@ -204,7 +204,6 @@ static int __ttm_vt_unlock(struct ttm_lock *lock)
lock->flags &= ~TTM_VT_LOCK;
wake_up_all(&lock->queue);
spin_unlock(&lock->lock);
- printk(KERN_INFO TTM_PFX "vt unlock.\n");
return ret;
}
@@ -265,10 +264,8 @@ int ttm_vt_lock(struct ttm_lock *lock,
ttm_lock_type, &ttm_vt_lock_remove, NULL);
if (ret)
(void)__ttm_vt_unlock(lock);
- else {
+ else
lock->vt_holder = tfile;
- printk(KERN_INFO TTM_PFX "vt lock.\n");
- }
return ret;
}