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

Commit 8fe326cb authored by Colin Ian King's avatar Colin Ian King Committed by Jaegeuk Kim
Browse files

f2fs: remove redundant initialization of pointer 'p'



Pointer p is initialized with a value that is never read and is later
re-assigned a new value, hence the initialization is redundant and can
be removed.

Cleans up clang warning:
fs/f2fs/extent_cache.c:463:19: warning: Value stored to 'p' during
its initialization is never read

Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Reviewed-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 46706d59
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -460,7 +460,7 @@ static struct extent_node *__insert_extent_tree(struct inode *inode,
				struct rb_node *insert_parent)
				struct rb_node *insert_parent)
{
{
	struct f2fs_sb_info *sbi = F2FS_I_SB(inode);
	struct f2fs_sb_info *sbi = F2FS_I_SB(inode);
	struct rb_node **p = &et->root.rb_node;
	struct rb_node **p;
	struct rb_node *parent = NULL;
	struct rb_node *parent = NULL;
	struct extent_node *en = NULL;
	struct extent_node *en = NULL;