aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorHongzhen Luo <hongzhen@linux.alibaba.com>2024-09-05 11:03:39 +0800
committerGao Xiang <hsiangkao@linux.alibaba.com>2024-09-10 15:27:14 +0800
commit8bdb6a8393dc32e3ab2cf89081e5b0f95cb7221b (patch)
treedda19179751a7b8737b08104dfaa30e932b7cd60 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parent53d514b970106976fd64f593ea13b55ebf26b3ff (diff)
erofs: simplify erofs_map_blocks_flatmode()
Get rid of redundant variables (nblocks, offset) and a dead branch (!tailendpacking). Signed-off-by: Hongzhen Luo <hongzhen@linux.alibaba.com> Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com> Reviewed-by: Chao Yu <chao@kernel.org> Link: https://lore.kernel.org/r/20240905030339.1474396-1-hongzhen@linux.alibaba.com Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions