Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
iptv_input_get_weight: remove unused code
  • Loading branch information
perexg committed Apr 22, 2015
1 parent f29a293 commit 89bb07f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/input/mpegts/iptv/iptv.c
Expand Up @@ -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)) {
Expand Down

0 comments on commit 89bb07f

Please sign in to comment.