Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357468
b: refs/heads/master
c: a46edeb
h: refs/heads/master
v: v3
  • Loading branch information
Nickolai Zeldovich authored and Mauro Carvalho Chehab committed Feb 5, 2013
1 parent d1a6416 commit fad6824
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 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: 7e20f6bfc47992d93b36f4ed068782f8726b75a3
refs/heads/master: a46edeb0f6098088f316c3543474784f8108508e
3 changes: 0 additions & 3 deletions trunk/drivers/media/pci/cx18/cx18-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,6 @@ int cx18_i2c_register(struct cx18 *cx, unsigned idx)
const char *type = hw_devicenames[idx];
u32 hw = 1 << idx;

if (idx >= ARRAY_SIZE(hw_addrs))
return -1;

if (hw == CX18_HW_TUNER) {
/* special tuner group handling */
sd = v4l2_i2c_new_subdev(&cx->v4l2_dev,
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/media/pci/ivtv/ivtv-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,6 @@ int ivtv_i2c_register(struct ivtv *itv, unsigned idx)
const char *type = hw_devicenames[idx];
u32 hw = 1 << idx;

if (idx >= ARRAY_SIZE(hw_addrs))
return -1;
if (hw == IVTV_HW_TUNER) {
/* special tuner handling */
sd = v4l2_i2c_new_subdev(&itv->v4l2_dev, adap, type, 0,
Expand Down

0 comments on commit fad6824

Please sign in to comment.