drm/nouveau/bo: remove duplicated variable initialization
Subsystems (3)
PATCH 1/1 drm/nouveau/bo: remove duplicated variable initialization
The page_count variable in nv04_bo_move_m2mf was redundantly initialized twice with the same value.
Signed-off-by Sergi Granell <[email protected]>
--- drivers/gpu/drm/nouveau/nouveau_bo.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/nouveau/nouveau_bo.c +0 -1
@@ -967,7 +967,6 @@ nv04_bo_move_m2mf(struct nouveau_channel *chan, struct ttm_buffer_object *bo,OUT_RING (chan,nouveau_bo_mem_ctxdma (bo, chan, old_reg));OUT_RING (chan,nouveau_bo_mem_ctxdma (bo, chan, new_reg)); - page_count = new_reg->num_pages;while (page_count) {int line_count = (page_count >2047 ) ?2047 : page_count;
Signature · 6 lines
2.14.1 _______________________________________________ Nouveau mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/nouveau