From 0276faf82179e0e51cafeb2d6e6d9bb1c238ae36 Mon Sep 17 00:00:00 2001 From: Manu Abraham Date: Tue, 25 Sep 2007 02:15:41 +0400 Subject: Code Simplification The 2 callbacks created nothing more than confusion From: Manu Abraham Signed-off-by: Manu Abraham --- linux/drivers/media/dvb/frontends/stb6100.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/linux/drivers/media/dvb/frontends/stb6100.c b/linux/drivers/media/dvb/frontends/stb6100.c index bdc8a6ecc..1f3ee99bf 100644 --- a/linux/drivers/media/dvb/frontends/stb6100.c +++ b/linux/drivers/media/dvb/frontends/stb6100.c @@ -523,8 +523,6 @@ static struct dvb_tuner_ops stb6100_ops = { .get_status = stb6100_get_status, .get_state = stb6100_get_state, .set_state = stb6100_set_state, - .get_frequency = stb6100_get_frequency, - .get_bandwidth = stb6100_get_bandwidth, .release = stb6100_release }; @@ -544,13 +542,12 @@ struct dvb_frontend *stb6100_attach(struct dvb_frontend *fe, state->reference = config->refclock / 1000; /* kHz */ fe->tuner_priv = state; fe->ops.tuner_ops = stb6100_ops; - + printk("%s: Attaching STB6100 \n", __func__); return fe; error: kfree(state); - return NULL; } -- cgit v1.2.3