From 89bb07fe82ba927ea4321a02e68ead061871e279 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 22 Apr 2015 17:18:16 +0200 Subject: [PATCH] iptv_input_get_weight: remove unused code --- src/input/mpegts/iptv/iptv.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/input/mpegts/iptv/iptv.c b/src/input/mpegts/iptv/iptv.c index ffe81473..7b819e6d 100644 --- a/src/input/mpegts/iptv/iptv.c +++ b/src/input/mpegts/iptv/iptv.c @@ -129,12 +129,9 @@ iptv_input_is_free ( mpegts_input_t *mi ) static int iptv_input_get_weight ( mpegts_input_t *mi, int flags ) { - int c = 0, w = 0; + int w = 0; const th_subscription_t *ths; const service_t *s; - const mpegts_mux_instance_t *mmi; - LIST_FOREACH(mmi, &mi->mi_mux_active, mmi_active_link) - c++; /* Find the "min" weight */ if (!iptv_input_is_free(mi)) {