]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
dvb: remove redundant code spotted by EricV
authorAdam Sutton <dev@adamsutton.me.uk>
Mon, 21 Apr 2014 18:56:21 +0000 (19:56 +0100)
committerAdam Sutton <dev@adamsutton.me.uk>
Mon, 21 Apr 2014 18:56:21 +0000 (19:56 +0100)
src/input/mpegts/dvb_support.c
src/input/mpegts/linuxdvb/linuxdvb_satconf.c

index ea98ad9ce9e6de139af26a60db96f0a91375b3d6..128be2fd5ee59f0ef990e9f6c3b24de5606ea0b5 100644 (file)
@@ -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);
 }
 
index 43dbe93af33f7bc1c716202cc2362e517315a8ff..1ded140ec249c74fcbb3cf65d1750a02ce528d35 100644 (file)
@@ -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);