From caf4608809012766c1db62865b39829cbe2c0c1d Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Wed, 4 Sep 2013 17:06:00 +0300 Subject: lib/intel_batchbuffer: remove code w/o effect Introduced when refactoring the patch in commit c1ee0bb53269ded7b79966d081518d689639bac7 Author: Imre Deak Date: Mon Jul 29 16:43:31 2013 +0300 intel_batchbuffer: add support for non-32bit blt copies No functional change. Signed-off-by: Imre Deak --- lib/intel_batchbuffer.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c index 8dfadfb7..e356729b 100644 --- a/lib/intel_batchbuffer.c +++ b/lib/intel_batchbuffer.c @@ -203,13 +203,11 @@ intel_blt_copy(struct intel_batchbuffer *batch, drm_intel_bo_get_tiling(src_bo, &src_tiling, &swizzle); drm_intel_bo_get_tiling(dst_bo, &dst_tiling, &swizzle); - src_pitch = src_pitch; if (IS_965(batch->devid) && src_tiling != I915_TILING_NONE) { src_pitch /= 4; cmd_bits |= XY_SRC_COPY_BLT_SRC_TILED; } - dst_pitch = dst_pitch; if (IS_965(batch->devid) && dst_tiling != I915_TILING_NONE) { dst_pitch /= 4; cmd_bits |= XY_SRC_COPY_BLT_DST_TILED; -- cgit v1.2.3