aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-10-25 21:33:22 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 17:53:24 -0200
commit667d75e7c61e73a59ff452b3a5ce04d9b3e8eca5 (patch)
treebe5843dd67892aa909f7ddb27c4587b5bea8823f
parenta5f4c0ce682efa60fa9552514118bb70a7646e28 (diff)
downloadkernel_goldelico_gta04-667d75e7c61e73a59ff452b3a5ce04d9b3e8eca5.zip
kernel_goldelico_gta04-667d75e7c61e73a59ff452b3a5ce04d9b3e8eca5.tar.gz
kernel_goldelico_gta04-667d75e7c61e73a59ff452b3a5ce04d9b3e8eca5.tar.bz2
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: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/cx18/cx18-driver.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.c b/drivers/media/video/cx18/cx18-driver.c
index 7874d97..d7879fb 100644
--- a/drivers/media/video/cx18/cx18-driver.c
+++ b/drivers/media/video/cx18/cx18-driver.c
@@ -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;