Commit 7fc51f92 authored by XU pengfei's avatar XU pengfei Committed by Theodore Ts'o

ext4: remove unnecessary variable initialization

Variables are assigned first and then used. Initialization is not required.
Signed-off-by: default avatarXU pengfei <xupengfei@nfschina.com>
Link: https://lore.kernel.org/r/20230104055229.3663-1-xupengfei@nfschina.com
parent 3f542479
...@@ -5788,7 +5788,7 @@ static int ext4_meta_trans_blocks(struct inode *inode, int lblocks, ...@@ -5788,7 +5788,7 @@ static int ext4_meta_trans_blocks(struct inode *inode, int lblocks,
ext4_group_t groups, ngroups = ext4_get_groups_count(inode->i_sb); ext4_group_t groups, ngroups = ext4_get_groups_count(inode->i_sb);
int gdpblocks; int gdpblocks;
int idxblocks; int idxblocks;
int ret = 0; int ret;
/* /*
* How many index blocks need to touch to map @lblocks logical blocks * How many index blocks need to touch to map @lblocks logical blocks
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment