From: Alejandro del Castillo Date: Wed, 10 Feb 2016 22:27:31 +0000 (-0600) Subject: pkg_dest_list_push: remove unused functions X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=46c5de56908abd9f1e54de028416f113a4aab7aa;p=project%2Fopkg-lede.git pkg_dest_list_push: remove unused functions Signed-off-by: Alejandro del Castillo --- diff --git a/libopkg/pkg_dest_list.c b/libopkg/pkg_dest_list.c index ebc80cc..7c57415 100644 --- a/libopkg/pkg_dest_list.c +++ b/libopkg/pkg_dest_list.c @@ -66,11 +66,6 @@ pkg_dest_t *pkg_dest_list_append(pkg_dest_list_t * list, const char *name, return pkg_dest; } -void pkg_dest_list_push(pkg_dest_list_t * list, pkg_dest_t * data) -{ - void_list_push((void_list_t *) list, data); -} - pkg_dest_list_elt_t *pkg_dest_list_pop(pkg_dest_list_t * list) { return (pkg_dest_list_elt_t *) void_list_pop((void_list_t *) list); diff --git a/libopkg/pkg_dest_list.h b/libopkg/pkg_dest_list.h index 2863f1d..67b1028 100644 --- a/libopkg/pkg_dest_list.h +++ b/libopkg/pkg_dest_list.h @@ -32,7 +32,6 @@ void pkg_dest_list_deinit(pkg_dest_list_t * list); pkg_dest_t *pkg_dest_list_append(pkg_dest_list_t * list, const char *name, const char *root_dir, const char *lists_dir); -void pkg_dest_list_push(pkg_dest_list_t * list, pkg_dest_t * data); pkg_dest_list_elt_t *pkg_dest_list_pop(pkg_dest_list_t * list); #endif