Skip to content

Commit 381ba6a

Browse files
committed
drm/nouveau/mmu/gp100: remove unused variable
Fixes a compilation issue introduced because I forgot to test with WERROR enabled. Cc: Stephen Rothwell <[email protected]> Cc: DRI <[email protected]> Cc: [email protected] Fixes: 404046c ("drm/nouveau/mmu/gp100-: drop unneeded assignment in the if condition.") Acked-by: Adam Jackson <[email protected]> Reviewed-by: Lyude Paul <[email protected]> Signed-off-by: Karol Herbst <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 1db0605 commit 381ba6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ gp100_vmm_fault_cancel(struct nvkm_vmm *vmm, void *argv, u32 argc)
488488
struct gp100_vmm_fault_cancel_v0 v0;
489489
} *args = argv;
490490
int ret = -ENOSYS;
491-
u32 inst, aper;
491+
u32 aper;
492492

493493
if ((ret = nvif_unpack(ret, &argv, &argc, args->v0, 0, 0, false)))
494494
return ret;

0 commit comments

Comments
 (0)