From 9bcb9a2c9a08f7e68b78d44279bcc396398d7349 Mon Sep 17 00:00:00 2001 From: Ralph Metzler Date: Thu, 22 Oct 2015 14:54:48 +0200 Subject: [PATCH] Remove unused status variable. --- frontends/stv6111.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontends/stv6111.c b/frontends/stv6111.c index bbbfbe7..691b8b9 100644 --- a/frontends/stv6111.c +++ b/frontends/stv6111.c @@ -306,7 +306,6 @@ static int set_params(struct dvb_frontend *fe) { struct stv *state = fe->tuner_priv; struct dtv_frontend_properties *p = &fe->dtv_property_cache; - int status; u32 freq, symb, cutoff; 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); if (fe->ops.i2c_gate_ctrl) fe->ops.i2c_gate_ctrl(fe, 0); - return status; + return 0; } static int get_frequency(struct dvb_frontend *fe, u32 *frequency)