From: Ray Strode Date: Thu, 7 Oct 2010 16:58:19 +0000 (-0400) Subject: list: drop node_set_data method X-Git-Tag: 0.8.4~104 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bc55aec23c12a27423cb80e6c3b569631228ed38;p=thirdparty%2Fplymouth.git list: drop node_set_data method It's not used anywhere, so drop it. --- diff --git a/src/libply/ply-list.c b/src/libply/ply-list.c index 5e7db4e4..85262ab6 100644 --- a/src/libply/ply-list.c +++ b/src/libply/ply-list.c @@ -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 diff --git a/src/libply/ply-list.h b/src/libply/ply-list.h index 65739c41..4f54bb58 100644 --- a/src/libply/ply-list.h +++ b/src/libply/ply-list.h @@ -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 */