From b6b6aa605f12eb0500faeffd1aae2e3f3ee1439a Mon Sep 17 00:00:00 2001 From: Adam Sutton Date: Mon, 21 Apr 2014 19:56:21 +0100 Subject: [PATCH] dvb: remove redundant code spotted by EricV --- src/input/mpegts/dvb_support.c | 1 - src/input/mpegts/linuxdvb/linuxdvb_satconf.c | 1 - 2 files changed, 2 deletions(-) diff --git a/src/input/mpegts/dvb_support.c b/src/input/mpegts/dvb_support.c index ea98ad9c..128be2fd 100644 --- a/src/input/mpegts/dvb_support.c +++ b/src/input/mpegts/dvb_support.c @@ -434,7 +434,6 @@ int dvb_str2rolloff(const char *p) int res = dvb_str2common(p); if (res != DVB_EOD) return res; - res = atoi(p) * 10; return dvb_verify(atoi(p) * 10, rolloff_table); } diff --git a/src/input/mpegts/linuxdvb/linuxdvb_satconf.c b/src/input/mpegts/linuxdvb/linuxdvb_satconf.c index 43dbe93a..1ded140e 100644 --- a/src/input/mpegts/linuxdvb/linuxdvb_satconf.c +++ b/src/input/mpegts/linuxdvb/linuxdvb_satconf.c @@ -632,7 +632,6 @@ linuxdvb_satconf_ele_tune ( linuxdvb_satconf_ele_t *lse ) } /* Diseqc */ - i = ls->ls_diseqc_idx; for (i = ls->ls_diseqc_idx; i < ARRAY_SIZE(lds); i++) { if (!lds[i]) continue; r = lds[i]->ld_tune(lds[i], lm, lse, lfe->lfe_fe_fd);