Marcin Slusarz
2012-Nov-11 18:57 UTC
[Nouveau] [PATCH] drm/nouveau: remove unused variable from nouveau_bios_shadow_of
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
Apparently Analagous Threads
- [PATCH] drm/nouveau: fix vbios load and check functions on PowerPC
- [PATCH] drm/nv40: allocate ctxprog with kmalloc
- [PATCH] drm/nouveau: fix pramdac_table range checking
- [PATCH] drm/nouveau/bios: remove unused variable.
- [PATCH 2/6] drm/nouveau: remove unused struct 'init_exec'