Commit 4534a2af authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/fb: remove some (now) unnecessary hacks

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 281d1bbd
...@@ -135,8 +135,6 @@ nouveau_fb_create_(struct nouveau_object *parent, struct nouveau_object *engine, ...@@ -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)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment