Message ID | 20210323140047.347955-1-colin.king@canonical.com |
---|---|
State | Accepted |
Commit | 7030a96bd99032c4565889082a8ab67db3b62180 |
Headers | show |
Series | [next] media: dvb-frontends: Remove redundant error check on variable ret | expand |
diff --git a/drivers/media/dvb-frontends/lgdt3306a.c b/drivers/media/dvb-frontends/lgdt3306a.c index 22d484487695..136b76cb4807 100644 --- a/drivers/media/dvb-frontends/lgdt3306a.c +++ b/drivers/media/dvb-frontends/lgdt3306a.c @@ -1017,9 +1017,6 @@ static int lgdt3306a_set_parameters(struct dvb_frontend *fe) /* spectral_inversion defaults already set for VSB and QAM */ - if (lg_chkerr(ret)) - goto fail; - ret = lgdt3306a_mpeg_mode(state, state->cfg->mpeg_mode); if (lg_chkerr(ret)) goto fail;