summaryrefslogtreecommitdiff
path: root/nvkm/include
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-10-21 15:23:16 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-12-02 15:37:20 +1000
commit8ec9597e0e1b198cd2c0df9c9f0de964f50f354b (patch)
tree1ddc1521f488f25e4c5291538753324020c00e94 /nvkm/include
parentf7232dd9215a363445b576181df44444e5c2903f (diff)
downloadnouveau-8ec9597e0e1b198cd2c0df9c9f0de964f50f354b.tar.gz
core: remove some dead code that got forgotten
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nvkm/include')
-rw-r--r--nvkm/include/core/handle.h5
-rw-r--r--nvkm/include/core/object.h17
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