static int cxd2880_set_ber_per_period_t(struct dvb_frontend *fe)
 {
        int ret;
-       struct dtv_frontend_properties *c;
        struct cxd2880_priv *priv;
        struct cxd2880_dvbt_tpsinfo info;
        enum cxd2880_dtv_bandwidth bw = CXD2880_DTV_BW_1_7_MHZ;
        }
 
        priv = fe->demodulator_priv;
-       c = &fe->dtv_property_cache;
        bw = priv->dvbt_tune_param.bandwidth;
 
        ret = cxd2880_tnrdmd_dvbt_mon_tps_info(&priv->tnrdmd,
 static int cxd2880_set_ber_per_period_t2(struct dvb_frontend *fe)
 {
        int ret;
-       struct dtv_frontend_properties *c;
        struct cxd2880_priv *priv;
        struct cxd2880_dvbt2_l1pre l1pre;
        struct cxd2880_dvbt2_l1post l1post;
        }
 
        priv = fe->demodulator_priv;
-       c = &fe->dtv_property_cache;
        bw = priv->dvbt2_tune_param.bandwidth;
 
        ret = cxd2880_tnrdmd_dvbt2_mon_l1_pre(&priv->tnrdmd, &l1pre);
 static int cxd2880_get_frontend(struct dvb_frontend *fe,
                                struct dtv_frontend_properties *props)
 {
-       struct cxd2880_priv *priv = NULL;
        int ret;
 
        if (!fe || !props) {
                return -EINVAL;
        }
 
-       priv = fe->demodulator_priv;
-
        pr_debug("system=%d\n", fe->dtv_property_cache.delivery_system);
        switch (fe->dtv_property_cache.delivery_system) {
        case SYS_DVBT: