Commit 2a514dea authored by Andrew de Quincey's avatar Andrew de Quincey Committed by Mauro Carvalho Chehab

V4L/DVB (4389): Remove duplication _release() op.

I added a duplicate method during one of the previous dvb_attach attempts.
This removes the unnecessary duplication.
Signed-off-by: default avatarAndrew de Quincey <adq_dvb@lidskialf.net>
Acked-by: default avatarTrent Piepho <xyzzy@speakeasy.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 1f10c7af
...@@ -1195,13 +1195,7 @@ static int tda1004x_get_tune_settings(struct dvb_frontend* fe, struct dvb_fronte ...@@ -1195,13 +1195,7 @@ static int tda1004x_get_tune_settings(struct dvb_frontend* fe, struct dvb_fronte
return 0; return 0;
} }
static void tda10045_release(struct dvb_frontend* fe) static void tda1004x_release(struct dvb_frontend* fe)
{
struct tda1004x_state *state = fe->demodulator_priv;
kfree(state);
}
static void tda10046_release(struct dvb_frontend* fe)
{ {
struct tda1004x_state *state = fe->demodulator_priv; struct tda1004x_state *state = fe->demodulator_priv;
kfree(state); kfree(state);
...@@ -1221,7 +1215,7 @@ static struct dvb_frontend_ops tda10045_ops = { ...@@ -1221,7 +1215,7 @@ static struct dvb_frontend_ops tda10045_ops = {
FE_CAN_TRANSMISSION_MODE_AUTO | FE_CAN_GUARD_INTERVAL_AUTO FE_CAN_TRANSMISSION_MODE_AUTO | FE_CAN_GUARD_INTERVAL_AUTO
}, },
.release = tda10045_release, .release = tda1004x_release,
.init = tda10045_init, .init = tda10045_init,
.sleep = tda1004x_sleep, .sleep = tda1004x_sleep,
...@@ -1280,7 +1274,7 @@ static struct dvb_frontend_ops tda10046_ops = { ...@@ -1280,7 +1274,7 @@ static struct dvb_frontend_ops tda10046_ops = {
FE_CAN_TRANSMISSION_MODE_AUTO | FE_CAN_GUARD_INTERVAL_AUTO FE_CAN_TRANSMISSION_MODE_AUTO | FE_CAN_GUARD_INTERVAL_AUTO
}, },
.release = tda10046_release, .release = tda1004x_release,
.init = tda10046_init, .init = tda10046_init,
.sleep = tda1004x_sleep, .sleep = tda1004x_sleep,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment