Skip to content

Commit

Permalink
drm/ttm: Remove some leftover debug messages.
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
thomashvmw authored and airlied committed May 6, 2010
1 parent 4fa07bf commit 5be6eff
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/gpu/drm/ttm/ttm_lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 5be6eff

Please sign in to comment.