From: Ben Skeggs Date: Wed, 3 Dec 2014 06:43:16 +0000 (+1000) Subject: drm/nouveau/fb: remove some (now) unnecessary hacks X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4534a2af58087d33a7fcc4497da72bd7b69fe8d0;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git drm/nouveau/fb: remove some (now) unnecessary hacks Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/base.c b/drivers/gpu/drm/nouveau/core/subdev/fb/base.c index c866148c440f..31869ff30740 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/base.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/base.c @@ -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)) {