Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250200
b: refs/heads/master
c: 92f6ed7
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Mauro Carvalho Chehab committed May 20, 2011
1 parent da8e869 commit 4483f0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0cff593732fa5bdf07192be741a567b85a9c0cd3
refs/heads/master: 92f6ed71cafae8580bd481db66edb81c3d9d958c
4 changes: 1 addition & 3 deletions trunk/drivers/media/video/pvrusb2/pvrusb2-std.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,12 +278,10 @@ static struct v4l2_standard generic_standards[] = {
}
};

#define generic_standards_cnt ARRAY_SIZE(generic_standards)

static struct v4l2_standard *match_std(v4l2_std_id id)
{
unsigned int idx;
for (idx = 0; idx < generic_standards_cnt; idx++) {
for (idx = 0; idx < ARRAY_SIZE(generic_standards); idx++) {
if (generic_standards[idx].id & id) {
return generic_standards + idx;
}
Expand Down

0 comments on commit 4483f0d

Please sign in to comment.