[Nouveau] [PATCH] drm/nouveau: remove unused variable from nouveau_bios_shadow_of
Marcin Slusarz
marcin.slusarz at gmail.com
Sun Nov 11 10:57:35 PST 2012
drivers/gpu/drm/nouveau/core/subdev/bios/base.c: warning: unused variable 'i'
Reported-by: Geert Uytterhoeven <geert at linux-m68k.org>
Signed-off-by: Marcin Slusarz <marcin.slusarz at gmail.com>
---
It's powerpc only code, so this wasn't compile tested.
---
drivers/gpu/drm/nouveau/core/subdev/bios/base.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/core/subdev/bios/base.c b/drivers/gpu/drm/nouveau/core/subdev/bios/base.c
index 1cf818d..8963e36 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/bios/base.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/bios/base.c
@@ -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) {
--
1.7.12
More information about the Nouveau
mailing list