From: Ben Skeggs <bske...@redhat.com>

No more internal users, and there's never been external users.

Signed-off-by: Ben Skeggs <bske...@redhat.com>
---
 nouveau/nouveau-symbol-check |  1 -
 nouveau/nouveau.c            | 11 -----------
 nouveau/nouveau.h            |  1 -
 3 files changed, 13 deletions(-)

diff --git a/nouveau/nouveau-symbol-check b/nouveau/nouveau-symbol-check
index e360b92..275b6e7 100755
--- a/nouveau/nouveau-symbol-check
+++ b/nouveau/nouveau-symbol-check
@@ -34,7 +34,6 @@ nouveau_drm_del
 nouveau_drm_new
 nouveau_getparam
 nouveau_object_del
-nouveau_object_find
 nouveau_object_mclass
 nouveau_object_mthd
 nouveau_object_new
diff --git a/nouveau/nouveau.c b/nouveau/nouveau.c
index b474c77..56e00ac 100644
--- a/nouveau/nouveau.c
+++ b/nouveau/nouveau.c
@@ -184,17 +184,6 @@ nouveau_object_del(struct nouveau_object **pobj)
        }
 }
 
-void *
-nouveau_object_find(struct nouveau_object *obj, uint32_t pclass)
-{
-       while (obj && obj->oclass != pclass) {
-               obj = obj->parent;
-               if (pclass == NOUVEAU_PARENT_CLASS)
-                       break;
-       }
-       return obj;
-}
-
 void
 nouveau_drm_del(struct nouveau_drm **pdrm)
 {
diff --git a/nouveau/nouveau.h b/nouveau/nouveau.h
index 2287eba..a693acf 100644
--- a/nouveau/nouveau.h
+++ b/nouveau/nouveau.h
@@ -109,7 +109,6 @@ int  nouveau_object_sclass_get(struct nouveau_object *,
 void nouveau_object_sclass_put(struct nouveau_sclass **);
 int  nouveau_object_mclass(struct nouveau_object *,
                           const struct nouveau_mclass *);
-void *nouveau_object_find(struct nouveau_object *, uint32_t parent_class);
 
 struct nouveau_device {
        struct nouveau_object object;
-- 
2.6.4

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

Reply via email to