]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (9474): cx18: Remove redundant block scope variable in cx18_probe() for sparse
authorAndy Walls <awalls@radix.net>
Sun, 26 Oct 2008 00:33:22 +0000 (21:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 29 Dec 2008 19:53:24 +0000 (17:53 -0200)
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>
drivers/media/video/cx18/cx18-driver.c

index 7874d9790a519917c88da2d4a91e738a48c14ec0..d7879fb1d21f56d1fcecc4fccaf4788637a83a60 100644 (file)
@@ -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;