mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
Remove unused status variable.
This commit is contained in:
parent
66be95a2b9
commit
9bcb9a2c9a
@ -306,7 +306,6 @@ static int set_params(struct dvb_frontend *fe)
|
|||||||
{
|
{
|
||||||
struct stv *state = fe->tuner_priv;
|
struct stv *state = fe->tuner_priv;
|
||||||
struct dtv_frontend_properties *p = &fe->dtv_property_cache;
|
struct dtv_frontend_properties *p = &fe->dtv_property_cache;
|
||||||
int status;
|
|
||||||
u32 freq, symb, cutoff;
|
u32 freq, symb, cutoff;
|
||||||
|
|
||||||
if (p->delivery_system != SYS_DVBS && p->delivery_system != SYS_DVBS2)
|
if (p->delivery_system != SYS_DVBS && p->delivery_system != SYS_DVBS2)
|
||||||
@ -321,7 +320,7 @@ static int set_params(struct dvb_frontend *fe)
|
|||||||
set_lof(state, freq, cutoff);
|
set_lof(state, freq, cutoff);
|
||||||
if (fe->ops.i2c_gate_ctrl)
|
if (fe->ops.i2c_gate_ctrl)
|
||||||
fe->ops.i2c_gate_ctrl(fe, 0);
|
fe->ops.i2c_gate_ctrl(fe, 0);
|
||||||
return status;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int get_frequency(struct dvb_frontend *fe, u32 *frequency)
|
static int get_frequency(struct dvb_frontend *fe, u32 *frequency)
|
||||||
|
Loading…
Reference in New Issue
Block a user