drm/nouveau/fb: remove some (now) unnecessary hacks
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
281d1bbd34
commit
4534a2af58
|
@ -135,8 +135,6 @@ nouveau_fb_create_(struct nouveau_object *parent, struct nouveau_object *engine,
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
atomic_dec(&ram->parent->refcount);
|
|
||||||
atomic_dec(&ram->engine->refcount);
|
|
||||||
pfb->ram = (void *)ram;
|
pfb->ram = (void *)ram;
|
||||||
|
|
||||||
if (!nouveau_mm_initialised(&pfb->vram)) {
|
if (!nouveau_mm_initialised(&pfb->vram)) {
|
||||||
|
|
Loading…
Reference in New Issue