mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
drm/nouveau: remove unused _nouveau_parent_ctor
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
parent
9a334cd0de
commit
d489738951
2 changed files with 0 additions and 20 deletions
|
@ -101,23 +101,6 @@ nouveau_parent_create_(struct nouveau_object *parent,
|
||||||
return 0;
|
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
|
void
|
||||||
nouveau_parent_destroy(struct nouveau_parent *parent)
|
nouveau_parent_destroy(struct nouveau_parent *parent)
|
||||||
{
|
{
|
||||||
|
|
|
@ -50,9 +50,6 @@ int nouveau_parent_create_(struct nouveau_object *, struct nouveau_object *,
|
||||||
int size, void **);
|
int size, void **);
|
||||||
void nouveau_parent_destroy(struct nouveau_parent *);
|
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 *);
|
void _nouveau_parent_dtor(struct nouveau_object *);
|
||||||
#define _nouveau_parent_init _nouveau_object_init
|
#define _nouveau_parent_init _nouveau_object_init
|
||||||
#define _nouveau_parent_fini _nouveau_object_fini
|
#define _nouveau_parent_fini _nouveau_object_fini
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue