V4L/DVB (9400): stb6100: Code Simplification
authorManu Abraham <abraham.manu@gmail.com>
Mon, 24 Sep 2007 22:15:41 +0000 (19:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 29 Dec 2008 19:53:16 +0000 (17:53 -0200)
The 2 callbacks created nothing more than confusion

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/stb6100.c

index 234ca7344a160d81f7ce9610090437b8d2edaa89..426a15272e5f19d996974abd592c5e05b6bd34b4 100644 (file)
@@ -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;
 }