Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7357b452 authored by LiFan's avatar LiFan Committed by Jaegeuk Kim
Browse files

f2fs: remove an excess variable



Remove the variable page_idx which no one would miss.

Signed-off-by: default avatarFan li <fanofcode.li@samsung.com>
Reviewed-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 6f2915eb
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1203,7 +1203,6 @@ static int f2fs_mpage_readpages(struct address_space *mapping,
			unsigned nr_pages)
{
	struct bio *bio = NULL;
	unsigned page_idx;
	sector_t last_block_in_bio = 0;
	struct inode *inode = mapping->host;
	const unsigned blkbits = inode->i_blkbits;
@@ -1220,8 +1219,7 @@ static int f2fs_mpage_readpages(struct address_space *mapping,
	map.m_flags = 0;
	map.m_next_pgofs = NULL;

	for (page_idx = 0; nr_pages; page_idx++, nr_pages--) {

	for (; nr_pages; nr_pages--) {
		if (pages) {
			page = list_last_entry(pages, struct page, lru);