From: Marcin Slusarz Date: Sun, 11 Nov 2012 18:57:35 +0000 (+0100) Subject: drm/nouveau: remove unused variable from nouveau_bios_shadow_of X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=fced4b221177f48743a1ea29ad3f592da1215d87;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Marcin Slusarz Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/core/subdev/bios/base.c b/drivers/gpu/drm/nouveau/core/subdev/bios/base.c index 1cf818d6d48e..8963e366e89b 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) {