summaryrefslogtreecommitdiff
path: root/nvkm/core/handle.c
diff options
context:
space:
mode:
Diffstat (limited to 'nvkm/core/handle.c')
-rw-r--r--nvkm/core/handle.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/nvkm/core/handle.c b/nvkm/core/handle.c
index 734777ce4..a490b805d 100644
--- a/nvkm/core/handle.c
+++ b/nvkm/core/handle.c
@@ -146,9 +146,7 @@ nouveau_handle_create(struct nouveau_object *parent, u32 _parent, u32 _handle,
}
hprintk(handle, TRACE, "created\n");
-
*phandle = handle;
-
return 0;
}