[media] tuner-core: remove the legacy is_stereo() call
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 4 Feb 2011 01:18:14 +0000 (22:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:32:00 +0000 (20:32 -0300)
Nobody is using this legacy call. Just remove it.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-core/dvb_frontend.h
drivers/media/video/tuner-core.c

index f9f19be77181329c9fe2123532ccfeb268fb25f8..3b860504bf04636ffc058cf818c98bd55d523f97 100644 (file)
@@ -239,7 +239,6 @@ struct analog_demod_ops {
        void (*set_params)(struct dvb_frontend *fe,
                           struct analog_parameters *params);
        int  (*has_signal)(struct dvb_frontend *fe);
-       int  (*is_stereo)(struct dvb_frontend *fe);
        int  (*get_afc)(struct dvb_frontend *fe);
        void (*tuner_status)(struct dvb_frontend *fe);
        void (*standby)(struct dvb_frontend *fe);
index 6041c7d41189fee54c1aa96e92bbd0e67449c8b3..912d8e87658fca3ad56c567f337eab315392a63a 100644 (file)
@@ -682,9 +682,6 @@ static void tuner_status(struct dvb_frontend *fe)
        if (analog_ops->has_signal)
                tuner_info("Signal strength: %d\n",
                           analog_ops->has_signal(fe));
-       if (analog_ops->is_stereo)
-               tuner_info("Stereo:          %s\n",
-                          analog_ops->is_stereo(fe) ? "yes" : "no");
 }
 
 /* ---------------------------------------------------------------------- */
@@ -861,13 +858,6 @@ static int tuner_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *vt)
                        (tuner_status & TUNER_STATUS_STEREO) ?
                        V4L2_TUNER_SUB_STEREO :
                        V4L2_TUNER_SUB_MONO;
-       } else {
-               if (analog_ops->is_stereo) {
-                       vt->rxsubchans =
-                               analog_ops->is_stereo(&t->fe) ?
-                               V4L2_TUNER_SUB_STEREO :
-                               V4L2_TUNER_SUB_MONO;
-               }
        }
        if (analog_ops->has_signal)
                vt->signal = analog_ops->has_signal(&t->fe);