]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] siano: remove get_frontend stub
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 4 Feb 2016 11:54:25 +0000 (09:54 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 4 Feb 2016 18:27:17 +0000 (16:27 -0200)
There's nothing at siano's get_frontend() callback. So,
remove it, as the core will handle it.

Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/common/siano/smsdvb-main.c

index d31f468830cf6de4508610bfc4086c4c27909e20..9148e14c9d0773480edd8c6fbd2e0ed92d3036fd 100644 (file)
@@ -1015,12 +1015,6 @@ static int smsdvb_set_frontend(struct dvb_frontend *fe)
        }
 }
 
-/* Nothing to do here, as stats are automatically updated */
-static int smsdvb_get_frontend(struct dvb_frontend *fe)
-{
-       return 0;
-}
-
 static int smsdvb_init(struct dvb_frontend *fe)
 {
        struct smsdvb_client_t *client =
@@ -1069,7 +1063,6 @@ static struct dvb_frontend_ops smsdvb_fe_ops = {
        .release = smsdvb_release,
 
        .set_frontend = smsdvb_set_frontend,
-       .get_frontend = smsdvb_get_frontend,
        .get_tune_settings = smsdvb_get_tune_settings,
 
        .read_status = smsdvb_read_status,