summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorHongzhen Luo <hongzhen@linux.alibaba.com>2024-09-05 06:03:39 +0300
committerGao Xiang <hsiangkao@linux.alibaba.com>2024-09-10 10:27:14 +0300
commit8bdb6a8393dc32e3ab2cf89081e5b0f95cb7221b (patch)
treedda19179751a7b8737b08104dfaa30e932b7cd60 /rust/helpers/helpers.c
parent53d514b970106976fd64f593ea13b55ebf26b3ff (diff)
downloadlinux-8bdb6a8393dc32e3ab2cf89081e5b0f95cb7221b.tar.xz
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 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions