Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332992
b: refs/heads/master
c: d489738
h: refs/heads/master
v: v3
  • Loading branch information
Marcin Slusarz authored and Ben Skeggs committed Oct 9, 2012
1 parent 91692df commit 0009f32
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 21 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9a334cd0de2f43b29c192548000692bad52edfc6
refs/heads/master: d489738951200a12171a63c29e8cd4876031a03b
17 changes: 0 additions & 17 deletions trunk/drivers/gpu/drm/nouveau/core/core/parent.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,23 +101,6 @@ nouveau_parent_create_(struct nouveau_object *parent,
return 0;
}

int
_nouveau_parent_ctor(struct nouveau_object *parent,
struct nouveau_object *engine,
struct nouveau_oclass *oclass, void *data, u32 size,
struct nouveau_object **pobject)
{
struct nouveau_parent *object;
int ret;

ret = nouveau_parent_create(parent, engine, oclass, 0, NULL, 0, &object);
*pobject = nv_object(object);
if (ret)
return ret;

return 0;
}

void
nouveau_parent_destroy(struct nouveau_parent *parent)
{
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/gpu/drm/nouveau/core/include/core/parent.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ int nouveau_parent_create_(struct nouveau_object *, struct nouveau_object *,
int size, void **);
void nouveau_parent_destroy(struct nouveau_parent *);

int _nouveau_parent_ctor(struct nouveau_object *, struct nouveau_object *,
struct nouveau_oclass *, void *, u32,
struct nouveau_object **);
void _nouveau_parent_dtor(struct nouveau_object *);
#define _nouveau_parent_init _nouveau_object_init
#define _nouveau_parent_fini _nouveau_object_fini
Expand Down

0 comments on commit 0009f32

Please sign in to comment.