Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
685a39bd
Commit
685a39bd
authored
Oct 27, 2012
by
Mauro Carvalho Chehab
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[media] v4l2-common: h_bp var is unused at v4l2_detect_gtf()
Signed-off-by:
Mauro Carvalho Chehab
<
mchehab@redhat.com
>
parent
7226d8eb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
drivers/media/v4l2-core/v4l2-common.c
drivers/media/v4l2-core/v4l2-common.c
+1
-2
No files found.
drivers/media/v4l2-core/v4l2-common.c
View file @
685a39bd
...
@@ -837,7 +837,7 @@ bool v4l2_detect_gtf(unsigned frame_height,
...
@@ -837,7 +837,7 @@ bool v4l2_detect_gtf(unsigned frame_height,
struct
v4l2_dv_timings
*
fmt
)
struct
v4l2_dv_timings
*
fmt
)
{
{
int
pix_clk
;
int
pix_clk
;
int
v_fp
,
v_bp
,
h_fp
,
h
_bp
,
h
sync
;
int
v_fp
,
v_bp
,
h_fp
,
hsync
;
int
frame_width
,
image_height
,
image_width
;
int
frame_width
,
image_height
,
image_width
;
bool
default_gtf
;
bool
default_gtf
;
int
h_blank
;
int
h_blank
;
...
@@ -885,7 +885,6 @@ bool v4l2_detect_gtf(unsigned frame_height,
...
@@ -885,7 +885,6 @@ bool v4l2_detect_gtf(unsigned frame_height,
hsync
=
hsync
-
hsync
%
GTF_CELL_GRAN
;
hsync
=
hsync
-
hsync
%
GTF_CELL_GRAN
;
h_fp
=
h_blank
/
2
-
hsync
;
h_fp
=
h_blank
/
2
-
hsync
;
h_bp
=
h_blank
/
2
;
fmt
->
bt
.
polarities
=
polarities
;
fmt
->
bt
.
polarities
=
polarities
;
fmt
->
bt
.
width
=
image_width
;
fmt
->
bt
.
width
=
image_width
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment