diff options
author | 2023-05-25 15:26:05 +0800 | |
---|---|---|
committer | 2023-05-29 15:54:51 +0800 | |
commit | 796e9149a2fcdba5543e247abd8d911a399bb9a6 (patch) | |
tree | b966877e986a8ccee3259af049f168ba06851264 /scripts/generate_rust_analyzer.py | |
parent | erofs: remove the member readahead from struct z_erofs_decompress_frontend (diff) | |
download | wireguard-linux-796e9149a2fcdba5543e247abd8d911a399bb9a6.tar.xz wireguard-linux-796e9149a2fcdba5543e247abd8d911a399bb9a6.zip |
erofs: clean up z_erofs_pcluster_readmore()
`end` parameter is no needed since it's pointless for !backmost, we can
handle it with backmost internally. And we only expand the trailing
edge, so the newstart can be replaced with ->headoffset.
Also, remove linux/prefetch.h inclusion since that is not used anymore
after commit 386292919c25 ("erofs: introduce readmore decompression
strategy").
Signed-off-by: Yue Hu <huyue2@coolpad.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230525072605.17857-1-zbestahu@gmail.com
[ Gao Xiang: update commit description. ]
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions