1
0
Fork 0

drm/ttm: remove failed ttm binding error printout

The driver (for example vmwgfx) may want to silently deal with the
error itself.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
hifive-unleashed-5.1
Thomas Hellstrom 2010-10-29 10:46:49 +02:00 committed by Dave Airlie
parent 06fba6d416
commit 7dcebb52f6
1 changed files with 1 additions and 3 deletions

View File

@ -440,10 +440,8 @@ int ttm_tt_bind(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem)
return ret;
ret = be->func->bind(be, bo_mem);
if (ret) {
printk(KERN_ERR TTM_PFX "Couldn't bind backend.\n");
if (unlikely(ret != 0))
return ret;
}
ttm->state = tt_bound;