lib/intel_batchbuffer: remove code w/o effect
authorImre Deak <imre.deak@intel.com>
Wed, 4 Sep 2013 14:06:00 +0000 (17:06 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 4 Sep 2013 14:07:28 +0000 (17:07 +0300)
Introduced when refactoring the patch in

commit c1ee0bb53269ded7b79966d081518d689639bac7
Author: Imre Deak <imre.deak@intel.com>
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 <imre.deak@intel.com>
lib/intel_batchbuffer.c

index 8dfadfb..e356729 100644 (file)
@@ -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;