@@ -367,7 +367,6 @@ static int vidtv_bridge_probe_tuner(struct vidtv_dvb *dvb, u32 n)
u32 freq;
int i;
-
/* TODO: check if the frequencies are at a valid range */
memcpy(cfg.vidtv_valid_dvb_t_freqs,
@@ -395,7 +395,6 @@ static struct vidtv_psi_desc_service_list_entry
return NULL;
}
-
curr_e->service_id = s->service_id;
curr_e->service_type = s_desc->service_type;
@@ -460,7 +459,6 @@ int vidtv_channel_si_init(struct vidtv_mux *m)
if (!m->si.eit)
goto free_nit;
-
/* assemble all programs and assign to PAT */
vidtv_psi_pat_program_assign(m->si.pat, programs);
@@ -193,7 +193,6 @@ static void vidtv_demod_update_stats(struct dvb_frontend *fe)
c->cnr.stat[0].svalue = state->tuner_cnr;
c->cnr.stat[0].svalue -= prandom_u32_max(state->tuner_cnr / 50);
-
}
static int vidtv_demod_read_status(struct dvb_frontend *fe,
@@ -307,7 +307,7 @@ u32 vidtv_pes_write_into(struct pes_write_args *args)
.dest_buf = args->dest_buf,
.dest_buf_sz = args->dest_buf_sz,
.pid = args->pid,
- .pcr = args->pcr,
+ .pcr = args->pcr,
.continuity_counter = args->continuity_counter,
};
struct pes_header_write_args pes_header_args = {
@@ -645,7 +645,7 @@ static u32 vidtv_psi_desc_write_into(struct desc_write_args *args)
.is_crc = false,
.dest_buf_sz = args->dest_buf_sz,
.crc = args->crc,
- .len = sizeof_field(struct vidtv_psi_desc, type) +
+ .len = sizeof_field(struct vidtv_psi_desc, type) +
sizeof_field(struct vidtv_psi_desc, length),
};
struct vidtv_psi_desc_service_list_entry *serv_list_entry = NULL;
@@ -1869,9 +1869,9 @@ u32 vidtv_psi_eit_write_into(struct vidtv_psi_eit_write_args *args)
struct psi_write_args psi_args = {
.dest_buf = args->buf,
.len = sizeof_field(struct vidtv_psi_table_eit, transport_id) +
- sizeof_field(struct vidtv_psi_table_eit, network_id) +
- sizeof_field(struct vidtv_psi_table_eit, last_segment) +
- sizeof_field(struct vidtv_psi_table_eit, last_table_id),
+ sizeof_field(struct vidtv_psi_table_eit, network_id) +
+ sizeof_field(struct vidtv_psi_table_eit, last_segment) +
+ sizeof_field(struct vidtv_psi_table_eit, last_table_id),
.pid = VIDTV_EIT_PID,
.new_psi_section = false,
.is_crc = false,
@@ -1971,7 +1971,7 @@ struct vidtv_psi_table_eit_event
mjd = 14956 + time.tm_mday;
mjd += (time.tm_year - l) * 36525 / 100;
- mjd += (time.tm_mon + 2 + l * 12) *306001 / 10000;
+ mjd += (time.tm_mon + 2 + l * 12) * 306001 / 10000;
mjd_be = cpu_to_be16(mjd);
/*
@@ -681,7 +681,6 @@ struct vidtv_psi_table_nit
char *network_name,
struct vidtv_psi_desc_service_list_entry *service_list);
-
/**
* struct vidtv_psi_nit_write_args - Arguments for writing a NIT section
* @buf: The destination buffer.
@@ -746,7 +745,6 @@ struct vidtv_psi_table_eit
u16 transport_stream_id,
u16 service_id);
-
/**
* struct vidtv_psi_eit_write_args - Arguments for writing an EIT section
* @buf: The destination buffer.
There are a few warnings produced by checkpatch.pl on strict mode. They're all trivial. Address them. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> --- drivers/media/test-drivers/vidtv/vidtv_bridge.c | 1 - drivers/media/test-drivers/vidtv/vidtv_channel.c | 2 -- drivers/media/test-drivers/vidtv/vidtv_demod.c | 1 - drivers/media/test-drivers/vidtv/vidtv_pes.c | 2 +- drivers/media/test-drivers/vidtv/vidtv_psi.c | 10 +++++----- drivers/media/test-drivers/vidtv/vidtv_psi.h | 2 -- 6 files changed, 6 insertions(+), 12 deletions(-)