From: Manu Abraham Date: Mon, 24 Sep 2007 22:15:41 +0000 (-0300) Subject: V4L/DVB (9400): stb6100: Code Simplification X-Git-Tag: v2.6.29-rc1~556^2~543 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=db1d3b80b3d077b6d5936f2afef3e5a84d302c1a;p=karo-tx-linux.git V4L/DVB (9400): stb6100: Code Simplification The 2 callbacks created nothing more than confusion Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/frontends/stb6100.c b/drivers/media/dvb/frontends/stb6100.c index 234ca7344a16..426a15272e5f 100644 --- a/drivers/media/dvb/frontends/stb6100.c +++ b/drivers/media/dvb/frontends/stb6100.c @@ -516,8 +516,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 }; @@ -543,7 +541,6 @@ struct dvb_frontend *stb6100_attach(struct dvb_frontend *fe, error: kfree(state); - return NULL; }