1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

comment out unused parts

This commit is contained in:
Ralph Metzler 2019-02-14 20:53:10 +01:00
parent 530f9d130a
commit d422786f00
2 changed files with 9 additions and 3 deletions

View File

@ -355,6 +355,7 @@ static int read_tps(struct cxd_state *state, u8 *tps)
/* OFDMInfo[3] [3:0] OFDM_NDSYM[11:8] */ /* OFDMInfo[3] [3:0] OFDM_NDSYM[11:8] */
/* OFDMInfo[4] [7:0] OFDM_NDSYM[7:0] */ /* OFDMInfo[4] [7:0] OFDM_NDSYM[7:0] */
#if 0
static int read_t2_ofdm_info(struct cxd_state *state, u8 *ofdm) static int read_t2_ofdm_info(struct cxd_state *state, u8 *ofdm)
{ {
if (state->last_status != 0x1f) if (state->last_status != 0x1f)
@ -365,6 +366,7 @@ static int read_t2_ofdm_info(struct cxd_state *state, u8 *ofdm)
unfreeze_regst(state); unfreeze_regst(state);
return 0; return 0;
} }
#endif
/* Read DVBT2 QAM, /* Read DVBT2 QAM,
Data PLP Data PLP
@ -390,6 +392,7 @@ static int read_t2_ofdm_info(struct cxd_state *state, u8 *ofdm)
19-37 same for common PLP 19-37 same for common PLP
*/ */
#if 0
static int read_t2_tlp_info(struct cxd_state *state, u8 off, u8 count, u8 *tlp) static int read_t2_tlp_info(struct cxd_state *state, u8 off, u8 count, u8 *tlp)
{ {
if (state->last_status != 0x1f) if (state->last_status != 0x1f)
@ -400,6 +403,7 @@ static int read_t2_tlp_info(struct cxd_state *state, u8 off, u8 count, u8 *tlp)
unfreeze_regst(state); unfreeze_regst(state);
return 0; return 0;
} }
#endif
static void Active_to_Sleep(struct cxd_state *state) static void Active_to_Sleep(struct cxd_state *state)
{ {
@ -2243,7 +2247,7 @@ static int get_algo(struct dvb_frontend *fe)
static int get_fe_t2(struct cxd_state *state, struct dtv_frontend_properties *p) static int get_fe_t2(struct cxd_state *state, struct dtv_frontend_properties *p)
{ {
struct dvb_frontend *fe = &state->frontend; //struct dvb_frontend *fe = &state->frontend;
u8 ofdm[5], modcod[2]; u8 ofdm[5], modcod[2];
freeze_regst(state); freeze_regst(state);
@ -2343,7 +2347,7 @@ static int get_fe_t2(struct cxd_state *state, struct dtv_frontend_properties *p)
static int get_fe_t(struct cxd_state *state, struct dtv_frontend_properties *p) static int get_fe_t(struct cxd_state *state, struct dtv_frontend_properties *p)
{ {
struct dvb_frontend *fe = &state->frontend; //struct dvb_frontend *fe = &state->frontend;
u8 tps[7]; u8 tps[7];
read_tps(state, tps); read_tps(state, tps);
@ -2444,7 +2448,7 @@ static int get_fe_t(struct cxd_state *state, struct dtv_frontend_properties *p)
static int get_fe_c(struct cxd_state *state, struct dtv_frontend_properties *p) static int get_fe_c(struct cxd_state *state, struct dtv_frontend_properties *p)
{ {
struct dvb_frontend *fe = &state->frontend; //struct dvb_frontend *fe = &state->frontend;
u8 qam; u8 qam;
freeze_regst(state); freeze_regst(state);

View File

@ -106,6 +106,7 @@ static int lnbh25_enable_high_lnb_voltage(struct dvb_frontend *fe, long arg)
return 0; return 0;
} }
#if 0
static int lnbh25_set_tone(struct dvb_frontend *fe, static int lnbh25_set_tone(struct dvb_frontend *fe,
enum fe_sec_tone_mode tone) enum fe_sec_tone_mode tone)
{ {
@ -113,6 +114,7 @@ static int lnbh25_set_tone(struct dvb_frontend *fe,
return 0; return 0;
} }
#endif
static int lnbh25_init(struct lnbh25 *lnbh) static int lnbh25_init(struct lnbh25 *lnbh)
{ {