drm/nouveau: remove unused variable from nouveau_bios_shadow_of
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 11 Nov 2012 18:57:35 +0000 (19:57 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 28 Nov 2012 23:56:34 +0000 (09:56 +1000)
drivers/gpu/drm/nouveau/core/subdev/bios/base.c: warning: unused variable 'i'

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/bios/base.c

index 1cf818d6d48e23b4b3cb5d08c35ccef20bce0d22..8963e366e89b014031452abd8149d5d28c559818 100644 (file)
@@ -63,7 +63,7 @@ nouveau_bios_shadow_of(struct nouveau_bios *bios)
        struct pci_dev *pdev = nv_device(bios)->pdev;
        struct device_node *dn;
        const u32 *data;
-       int size, i;
+       int size;
 
        dn = pci_device_to_OF_node(pdev);
        if (!dn) {