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

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs 2014-12-03 16:43:16 +10:00
parent 281d1bbd34
commit 4534a2af58

View File

@ -135,8 +135,6 @@ nouveau_fb_create_(struct nouveau_object *parent, struct nouveau_object *engine,
return ret;
}
atomic_dec(&ram->parent->refcount);
atomic_dec(&ram->engine->refcount);
pfb->ram = (void *)ram;
if (!nouveau_mm_initialised(&pfb->vram)) {