summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorAndrew de Quincey <adq_dvb@lidskialf.net>2006-07-28 23:10:33 +0100
committerAndrew de Quincey <adq_dvb@lidskialf.net>2006-07-28 23:10:33 +0100
commitb66de438fae36b484ba1c8a2887de8055513aef5 (patch)
treec36f7dea2a8be1588799005b06c84ab9c220fd92 /linux/drivers/media
parent2e5bad480e205eb17af4683eb6983ae88519554a (diff)
downloadmediapointer-dvb-s2-b66de438fae36b484ba1c8a2887de8055513aef5.tar.gz
mediapointer-dvb-s2-b66de438fae36b484ba1c8a2887de8055513aef5.tar.bz2
Remove duplication _release() op.
From: Andrew de Quincey <adq_dvb@lidskialf.net> I added a duplicate method during one of the previous dvb_attach attempts. This removes the unnecessary duplication. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Acked-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/frontends/tda1004x.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda1004x.c b/linux/drivers/media/dvb/frontends/tda1004x.c
index 478d97735..11e0dca9a 100644
--- a/linux/drivers/media/dvb/frontends/tda1004x.c
+++ b/linux/drivers/media/dvb/frontends/tda1004x.c
@@ -1195,13 +1195,7 @@ static int tda1004x_get_tune_settings(struct dvb_frontend* fe, struct dvb_fronte
return 0;
}
-static void tda10045_release(struct dvb_frontend* fe)
-{
- struct tda1004x_state *state = fe->demodulator_priv;
- kfree(state);
-}
-
-static void tda10046_release(struct dvb_frontend* fe)
+static void tda1004x_release(struct dvb_frontend* fe)
{
struct tda1004x_state *state = fe->demodulator_priv;
kfree(state);
@@ -1221,7 +1215,7 @@ static struct dvb_frontend_ops tda10045_ops = {
FE_CAN_TRANSMISSION_MODE_AUTO | FE_CAN_GUARD_INTERVAL_AUTO
},
- .release = tda10045_release,
+ .release = tda1004x_release,
.init = tda10045_init,
.sleep = tda1004x_sleep,
@@ -1280,7 +1274,7 @@ static struct dvb_frontend_ops tda10046_ops = {
FE_CAN_TRANSMISSION_MODE_AUTO | FE_CAN_GUARD_INTERVAL_AUTO
},
- .release = tda10046_release,
+ .release = tda1004x_release,
.init = tda10046_init,
.sleep = tda1004x_sleep,