]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
list: drop node_set_data method
authorRay Strode <rstrode@redhat.com>
Thu, 7 Oct 2010 16:58:19 +0000 (12:58 -0400)
committerRay Strode <rstrode@redhat.com>
Thu, 7 Oct 2010 17:52:29 +0000 (13:52 -0400)
It's not used anywhere, so drop it.

src/libply/ply-list.c
src/libply/ply-list.h

index 5e7db4e41327e70e02487d4aa1e1cb4c39e98731..85262ab6660cd06f183c17499d9fe435a2c42993 100644 (file)
@@ -375,13 +375,6 @@ ply_list_node_get_data (ply_list_node_t *node)
   return node->data;
 }
 
-void 
-ply_list_node_set_data (ply_list_node_t *node, void *data)
-{
-  node->data = data;
-  return;
-}
-
 #ifdef PLY_LIST_ENABLE_TEST
 #include <stdio.h>
 
index 65739c4107d8e521c90038d7d19e6e6c5494fa1b..4f54bb58a811520a1fa2e960edffc6fe5d9600e3 100644 (file)
@@ -55,7 +55,6 @@ ply_list_node_t *ply_list_get_nth_node (ply_list_t *list,
 ply_list_node_t *ply_list_get_next_node (ply_list_t      *list,
                                          ply_list_node_t *node);
 void *ply_list_node_get_data (ply_list_node_t *node);
-void ply_list_node_set_data (ply_list_node_t *node, void *data);
 #endif
 
 #endif /* PLY_LIST_H */