mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
[media] v4l2-common: h_bp var is unused at v4l2_detect_gtf()
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
7226d8ebdd
commit
685a39bd1a
1 changed files with 1 additions and 2 deletions
|
@ -837,7 +837,7 @@ bool v4l2_detect_gtf(unsigned frame_height,
|
|||
struct v4l2_dv_timings *fmt)
|
||||
{
|
||||
int pix_clk;
|
||||
int v_fp, v_bp, h_fp, h_bp, hsync;
|
||||
int v_fp, v_bp, h_fp, hsync;
|
||||
int frame_width, image_height, image_width;
|
||||
bool default_gtf;
|
||||
int h_blank;
|
||||
|
@ -885,7 +885,6 @@ bool v4l2_detect_gtf(unsigned frame_height,
|
|||
hsync = hsync - hsync % GTF_CELL_GRAN;
|
||||
|
||||
h_fp = h_blank / 2 - hsync;
|
||||
h_bp = h_blank / 2;
|
||||
|
||||
fmt->bt.polarities = polarities;
|
||||
fmt->bt.width = image_width;
|
||||
|
|
Loading…
Reference in a new issue