Commit 667d75e7 authored by Andy Walls's avatar Andy Walls Committed by Mauro Carvalho Chehab

V4L/DVB (9474): cx18: Remove redundant block scope variable in cx18_probe() for sparse

cx18: Remove redundant block scope variable in cx18_probe() to eliminate sparse
build warning.
Signed-off-by: default avatarAndy Walls <awalls@radix.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent a5f4c0ce
...@@ -739,8 +739,6 @@ static int __devinit cx18_probe(struct pci_dev *dev, ...@@ -739,8 +739,6 @@ static int __devinit cx18_probe(struct pci_dev *dev,
cx->std = V4L2_STD_NTSC_M; cx->std = V4L2_STD_NTSC_M;
if (cx->options.tuner == -1) { if (cx->options.tuner == -1) {
int i;
for (i = 0; i < CX18_CARD_MAX_TUNERS; i++) { for (i = 0; i < CX18_CARD_MAX_TUNERS; i++) {
if ((cx->std & cx->card->tuners[i].std) == 0) if ((cx->std & cx->card->tuners[i].std) == 0)
continue; continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment