summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorHongzhen Luo <hongzhen@linux.alibaba.com>2024-08-01 14:26:22 +0300
committerGao Xiang <hsiangkao@linux.alibaba.com>2024-08-19 06:06:20 +0300
commit5b5c96c63d5b6e91c622611e04b2b156bbae53f5 (patch)
tree38cdd28fad8f98ad3559f5eb0ec8e9a227469f63 /drivers/fpga/fpga-mgr.c
parent47ac09b91befbb6a235ab620c32af719f8208399 (diff)
downloadlinux-5b5c96c63d5b6e91c622611e04b2b156bbae53f5.tar.xz
erofs: simplify readdir operation
- Use i_size instead of i_size_read() due to immutable fses; - Get rid of an unneeded goto since erofs_fill_dentries() also works; - Remove unnecessary lines. Signed-off-by: Hongzhen Luo <hongzhen@linux.alibaba.com> Link: https://lore.kernel.org/r/20240801112622.2164029-1-hongzhen@linux.alibaba.com Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com> Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions