Commit 94db9a3b authored by Zheng Bin's avatar Zheng Bin Committed by Ben Skeggs

drm/nouveau/mmu: Remove unneeded semicolon

Fixes coccicheck warning:

drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h:307:2-3: Unneeded semicolon
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c:583:2-3: Unneeded semicolon
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZheng Bin <zhengbin13@huawei.com>
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent ccfc2d5c
...@@ -580,7 +580,7 @@ nvkm_vmm_iter(struct nvkm_vmm *vmm, const struct nvkm_vmm_page *page, ...@@ -580,7 +580,7 @@ nvkm_vmm_iter(struct nvkm_vmm *vmm, const struct nvkm_vmm_page *page,
it.pte[it.lvl]++; it.pte[it.lvl]++;
} }
} }
}; }
nvkm_vmm_flush(&it); nvkm_vmm_flush(&it);
return ~0ULL; return ~0ULL;
......
...@@ -304,7 +304,7 @@ int tu102_vmm_new(struct nvkm_mmu *, bool, u64, u64, void *, u32, ...@@ -304,7 +304,7 @@ int tu102_vmm_new(struct nvkm_mmu *, bool, u64, u64, void *, u32,
FILL(VMM, PT, PTEI, _ptes, MAP, _addr); \ FILL(VMM, PT, PTEI, _ptes, MAP, _addr); \
PTEI += _ptes; \ PTEI += _ptes; \
PTEN -= _ptes; \ PTEN -= _ptes; \
}; \ } \
nvkm_done((PT)->memory); \ nvkm_done((PT)->memory); \
} while(0) } while(0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment