Now that all clients of set_property() were removed, get rid
of this callback.

Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>
---
 drivers/media/dvb-core/dvb_frontend.c | 7 -------
 drivers/media/dvb-core/dvb_frontend.h | 2 --
 2 files changed, 9 deletions(-)

diff --git a/drivers/media/dvb-core/dvb_frontend.c 
b/drivers/media/dvb-core/dvb_frontend.c
index 0e9273d184f2..8e90e3a2fe0d 100644
--- a/drivers/media/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb-core/dvb_frontend.c
@@ -1738,13 +1738,6 @@ static int dtv_property_process_set(struct dvb_frontend 
*fe,
        int r = 0;
        struct dtv_frontend_properties *c = &fe->dtv_property_cache;
 
-       /* Allow the frontend to validate incoming properties */
-       if (fe->ops.set_property) {
-               r = fe->ops.set_property(fe, tvp);
-               if (r < 0)
-                       return r;
-       }
-
        dtv_property_dump(fe, true, tvp);
 
        switch(tvp->cmd) {
diff --git a/drivers/media/dvb-core/dvb_frontend.h 
b/drivers/media/dvb-core/dvb_frontend.h
index 4d05846f2c1c..a50f8216ab76 100644
--- a/drivers/media/dvb-core/dvb_frontend.h
+++ b/drivers/media/dvb-core/dvb_frontend.h
@@ -401,8 +401,6 @@ struct dtv_frontend_properties;
  * @search:            callback function used on some custom algo search algos.
  * @tuner_ops:         pointer to struct dvb_tuner_ops
  * @analog_ops:                pointer to struct analog_demod_ops
- * @set_property:      callback function to allow the frontend to validade
- *                     incoming properties. Should not be used on new drivers.
  */
 struct dvb_frontend_ops {
 
-- 
2.13.5

Reply via email to