From: Eric Anholt Date: Thu, 24 Jan 2008 20:29:04 +0000 (-0800) Subject: Clean up comments/dead code from relocation buffer change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f0d76204df30de7af9608cf21ddc3cf50eff7b1;p=mesa.git Clean up comments/dead code from relocation buffer change. --- diff --git a/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c b/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c index 932e6ade59a..745dbc8a3e0 100644 --- a/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c +++ b/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c @@ -301,7 +301,6 @@ intel_setup_reloc_list(dri_bo *bo) * DWORD 0: relocation count * DWORD 1: relocation type * DWORD 2+3: handle to next relocation list (currently none) 64-bits - * DWORD 3: unused */ bo_ttm->reloc_buf_data[0] = 0; bo_ttm->reloc_buf_data[1] = I915_RELOC_TYPE_0; @@ -714,10 +713,6 @@ dri_ttm_bo_process_reloc(dri_bo *bo) /* Add the target to the validate list */ intel_add_validate_buffer(r->target_buf, r->validate_flags); - - /* Update the index of the target in the relocation entry */ - reloc_entry = bo_ttm->reloc_buf_data + I915_RELOC_HEADER + - i * I915_RELOC0_STRIDE; } }