浏览代码

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@linux-m68k.org>
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Marcin Slusarz 12 年之前
父节点
当前提交
fced4b2211
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/gpu/drm/nouveau/core/subdev/bios/base.c

+ 1 - 1
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 pci_dev *pdev = nv_device(bios)->pdev;
 	struct device_node *dn;
 	struct device_node *dn;
 	const u32 *data;
 	const u32 *data;
-	int size, i;
+	int size;
 
 
 	dn = pci_device_to_OF_node(pdev);
 	dn = pci_device_to_OF_node(pdev);
 	if (!dn) {
 	if (!dn) {