Skip to content

Commit

Permalink
[media] v4l2-common: h_bp var is unused at v4l2_detect_gtf()
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed Oct 28, 2012
1 parent 7226d8e commit 685a39b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/media/v4l2-core/v4l2-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 685a39b

Please sign in to comment.