• Lee Jones's avatar
    drm/radeon/r600: Strip out set but unused 'tmp' variables · 4b7ec10b
    Lee Jones authored
    Fixes the following W=1 kernel build warning(s):
    
     drivers/gpu/drm/radeon/r600.c: In function ‘r600_pcie_gart_tlb_flush’:
     drivers/gpu/drm/radeon/r600.c:1083:7: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
     drivers/gpu/drm/radeon/r600.c: At top level:
     drivers/gpu/drm/radeon/r600.c: In function ‘r600_mmio_hdp_flush’:
     drivers/gpu/drm/radeon/r600.c:4393:7: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
    
    Cc: Alex Deucher <alexander.deucher@amd.com>
    Cc: "Christian König" <christian.koenig@amd.com>
    Cc: David Airlie <airlied@linux.ie>
    Cc: Daniel Vetter <daniel@ffwll.ch>
    Cc: Sumit Semwal <sumit.semwal@linaro.org>
    Cc: amd-gfx@lists.freedesktop.org
    Cc: dri-devel@lists.freedesktop.org
    Cc: linux-media@vger.kernel.org
    Cc: linaro-mm-sig@lists.linaro.org
    Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
    Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    4b7ec10b
r600.c 135 KB