Skip to content

Commit

Permalink
V4L/DVB (9474): cx18: Remove redundant block scope variable in cx18_p…
Browse files Browse the repository at this point in the history
…robe() for sparse

cx18: Remove redundant block scope variable in cx18_probe() to eliminate sparse
build warning.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Andy Walls authored and Mauro Carvalho Chehab committed Dec 29, 2008
1 parent a5f4c0c commit 667d75e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/media/video/cx18/cx18-driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -739,8 +739,6 @@ static int __devinit cx18_probe(struct pci_dev *dev,
cx->std = V4L2_STD_NTSC_M;

if (cx->options.tuner == -1) {
int i;

for (i = 0; i < CX18_CARD_MAX_TUNERS; i++) {
if ((cx->std & cx->card->tuners[i].std) == 0)
continue;
Expand Down

0 comments on commit 667d75e

Please sign in to comment.