diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-02 18:54:49 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-04 20:34:52 +0100 |
commit | 8b8e444a271165bce923c98417334f9b989cca20 (patch) | |
tree | 1b28371fc4a0c779bc51bb8907849023e03d0529 /drivers/media/dvb-frontends/mb86a20s.c | |
parent | [media] mb86a20s: Always reset the frontend with set_frontend (diff) | |
download | linux-8b8e444a271165bce923c98417334f9b989cca20.tar.xz linux-8b8e444a271165bce923c98417334f9b989cca20.zip |
[media] mb86a20s: Don't reset strength with the other stats
Signal strength is always available. There's no reason to reset
it, as it has its own logic to reset it already.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb-frontends/mb86a20s.c')
-rw-r--r-- | drivers/media/dvb-frontends/mb86a20s.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/mb86a20s.c b/drivers/media/dvb-frontends/mb86a20s.c index b6cdc444fb45..746adadfe8d5 100644 --- a/drivers/media/dvb-frontends/mb86a20s.c +++ b/drivers/media/dvb-frontends/mb86a20s.c @@ -754,7 +754,6 @@ static int mb86a20s_reset_counters(struct dvb_frontend *fe) /* Reset the counters, if the channel changed */ if (state->last_frequency != c->frequency) { - memset(&c->strength, 0, sizeof(c->strength)); memset(&c->cnr, 0, sizeof(c->cnr)); memset(&c->pre_bit_error, 0, sizeof(c->pre_bit_error)); memset(&c->pre_bit_count, 0, sizeof(c->pre_bit_count)); |