public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bo Liu <liubo03@inspur.com>
To: <xiang@kernel.org>, <chao@kernel.org>
Cc: <linux-erofs@lists.ozlabs.org>, <linux-kernel@vger.kernel.org>,
	Bo Liu <liubo03@inspur.com>
Subject: [PATCH 1/2] erofs: remove duplicate code
Date: Thu, 10 Apr 2025 00:20:47 -0400	[thread overview]
Message-ID: <20250410042048.3044-2-liubo03@inspur.com> (raw)
In-Reply-To: <20250410042048.3044-1-liubo03@inspur.com>

Remove duplicate code in function z_erofs_register_pcluster()

Signed-off-by: Bo Liu <liubo03@inspur.com>
---
 fs/erofs/zdata.c | 1 -
 1 file changed, 1 deletion(-)

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;
-- 
2.31.1


  reply	other threads:[~2025-04-10  4:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-10  4:20 [PATCH 0/2] erofs: support deflate decompress by using Intel QAT Bo Liu
2025-04-10  4:20 ` Bo Liu [this message]
2025-04-10  5:34   ` [PATCH 1/2] erofs: remove duplicate code Gao Xiang
2025-04-10  4:20 ` [PATCH 2/2] erofs: support deflate decompress by using Intel QAT Bo Liu
2025-04-11  6:30   ` kernel test robot
2025-04-11  7:44   ` kernel test robot
2025-05-13  5:47   ` Gao Xiang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250410042048.3044-2-liubo03@inspur.com \
    --to=liubo03@inspur.com \
    --cc=chao@kernel.org \
    --cc=linux-erofs@lists.ozlabs.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xiang@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox