Commit 57802c73 authored by Li zeming's avatar Li zeming Committed by Theodore Ts'o

ext4: block_validity: Remove unnecessary ‘NULL’ values from new_node

new_node is assigned first, so it does not need to initialize the
assignment.
Signed-off-by: default avatarLi zeming <zeming@nfschina.com>
Reviewed-by: default avatarAndreas Dilger <adilger@dilger.ca>
Link: https://patch.msgid.link/20240402022300.25858-1-zeming@nfschina.comSigned-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent f2661062
......@@ -72,7 +72,7 @@ static int add_system_zone(struct ext4_system_blocks *system_blks,
{
struct ext4_system_zone *new_entry, *entry;
struct rb_node **n = &system_blks->root.rb_node, *node;
struct rb_node *parent = NULL, *new_node = NULL;
struct rb_node *parent = NULL, *new_node;
while (*n) {
parent = *n;
......
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