btrfs: remove redundant assignment to pointer node
Subsystems (2)
PATCH 1/1 btrfs: remove redundant assignment to pointer node
The pointer node is being assigned a value that is never read, the jump back to label 'again' re-assigns node to the return value from the call to btrfs_get_delayed_node. The assignment is redundant and can be removed.
Signed-off-by Colin Ian King <[email protected]>
--- fs/btrfs/delayed-inode.c | 1 - 1 file changed, 1 deletion(-)
fs/btrfs/delayed-inode.c +0 -1
@@ -154,7 +154,6 @@ static struct btrfs_delayed_node *btrfs_get_or_create_delayed_node(/* Somebody inserted it, go back and read it. */ xa_unlock (&root->delayed_nodes);kmem_cache_free (delayed_node_cache, node); - node =NULL ; goto again; } ptr =__xa_store (&root->delayed_nodes, ino, node,GFP_ATOMIC );
Signature · 1 line
2.39.5