summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-10-25 20:33:22 -0400
committerAndy Walls <awalls@radix.net>2008-10-25 20:33:22 -0400
commit2d12eca3a86debc804db4960c4136098fb750c0d (patch)
treec9224cb7b20f72bfd6f587eb017436fa191598a0 /linux
parentf46b85426d01f8ce77fd9a4a036cc0345ae1c4be (diff)
downloadmediapointer-dvb-s2-2d12eca3a86debc804db4960c4136098fb750c0d.tar.gz
mediapointer-dvb-s2-2d12eca3a86debc804db4960c4136098fb750c0d.tar.bz2
cx18: Remove redundant block scope variable in cx18_probe() for sparse
From: Andy Walls <awalls@radix.net> cx18: Remove redundant block scope variable in cx18_probe() to eliminate sparse build warning. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/video/cx18/cx18-driver.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-driver.c b/linux/drivers/media/video/cx18/cx18-driver.c
index 7a1a7830a..c95230999 100644
--- a/linux/drivers/media/video/cx18/cx18-driver.c
+++ b/linux/drivers/media/video/cx18/cx18-driver.c
@@ -732,8 +732,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;