diff options
author | Bo Liu <liubo03@inspur.com> | 2025-04-10 00:20:47 -0400 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2025-04-10 14:24:05 +0800 |
commit | f5ffef9881a76764477978c39f1ad0136a4adcab (patch) | |
tree | ea278add28b668c209aee79bea3d7249d4a9eede /fs | |
parent | be45319c9fb1d5c272da9fd34854a7d39e7f58d1 (diff) |
erofs: remove duplicate code
Remove duplicate code in function z_erofs_register_pcluster()
Signed-off-by: Bo Liu <liubo03@inspur.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20250410042048.3044-2-liubo03@inspur.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/erofs/zdata.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/erofs/zdata.c b/fs/erofs/zdata.c index 0671184d9cf1..5c061aaeeb45 100644 --- a/fs/erofs/zdata.c +++ b/fs/erofs/zdata.c @@ -725,7 +725,6 @@ static int z_erofs_register_pcluster(struct z_erofs_frontend *fe) lockref_init(&pcl->lockref); /* one ref for this request */ pcl->algorithmformat = map->m_algorithmformat; pcl->pclustersize = map->m_plen; - pcl->pageofs_in = pageofs_in; pcl->length = 0; pcl->partial = true; pcl->next = fe->head; |