diff options
Diffstat (limited to 'nvkm/include/core')
-rw-r--r-- | nvkm/include/core/handle.h | 5 | ||||
-rw-r--r-- | nvkm/include/core/object.h | 17 |
2 files changed, 0 insertions, 22 deletions
diff --git a/nvkm/include/core/handle.h b/nvkm/include/core/handle.h index ceb67d770..d22a59138 100644 --- a/nvkm/include/core/handle.h +++ b/nvkm/include/core/handle.h @@ -23,11 +23,6 @@ void nouveau_handle_destroy(struct nouveau_handle *); int nouveau_handle_init(struct nouveau_handle *); int nouveau_handle_fini(struct nouveau_handle *, bool suspend); -int nouveau_handle_new(struct nouveau_object *, u32 parent, u32 handle, - u16 oclass, void *data, u32 size, - struct nouveau_object **); -int nouveau_handle_del(struct nouveau_object *, u32 parent, u32 handle); - struct nouveau_object * nouveau_handle_ref(struct nouveau_object *, u32 name); diff --git a/nvkm/include/core/object.h b/nvkm/include/core/object.h index d7039482d..2e2afa502 100644 --- a/nvkm/include/core/object.h +++ b/nvkm/include/core/object.h @@ -203,21 +203,4 @@ nv_memcmp(void *obj, u32 addr, const char *str, u32 len) return 0; } -#include <core/handle.h> - -static inline int -nouveau_object_new(struct nouveau_object *client, u32 parent, u32 handle, - u16 oclass, void *data, u32 size, - struct nouveau_object **pobject) -{ - return nouveau_handle_new(client, parent, handle, oclass, - data, size, pobject); -} - -static inline int -nouveau_object_del(struct nouveau_object *client, u32 parent, u32 handle) -{ - return nouveau_handle_del(client, parent, handle); -} - #endif |