Skip to content

Commit 5be6eff

Browse files
thomashvmwairlied
authored andcommitted
drm/ttm: Remove some leftover debug messages.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent 4fa07bf commit 5be6eff

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

drivers/gpu/drm/ttm/ttm_lock.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ static int __ttm_vt_unlock(struct ttm_lock *lock)
204204
lock->flags &= ~TTM_VT_LOCK;
205205
wake_up_all(&lock->queue);
206206
spin_unlock(&lock->lock);
207-
printk(KERN_INFO TTM_PFX "vt unlock.\n");
208207

209208
return ret;
210209
}
@@ -265,10 +264,8 @@ int ttm_vt_lock(struct ttm_lock *lock,
265264
ttm_lock_type, &ttm_vt_lock_remove, NULL);
266265
if (ret)
267266
(void)__ttm_vt_unlock(lock);
268-
else {
267+
else
269268
lock->vt_holder = tfile;
270-
printk(KERN_INFO TTM_PFX "vt lock.\n");
271-
}
272269

273270
return ret;
274271
}

0 commit comments

Comments
 (0)