Btrfs: remove unused variables in __btrfs_unlink_inode
authorLiu Bo <bo.liu@linux.alibaba.com>
Tue, 11 Sep 2018 22:06:25 +0000 (06:06 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 1 Jul 2019 11:34:55 +0000 (13:34 +0200)
commitbe9b8dfa9c478a5bef22aeaa69d3f12d1033bbe4
tree5e78b52b62ce3b1755f84b130c28a963418ea4ec
parentcebf05ca65d68d0de869a74754e0a0be35056243
Btrfs: remove unused variables in __btrfs_unlink_inode

This code was first introduced in 5f39d397dfbe ("Btrfs: Create
extent_buffer interface for large blocksizes") and the function was
named btrfs_unlink_trans. It later got renamed to __btrfs_unlink_inode
and finally commit 16cdcec736cd ("btrfs: implement delayed inode items
operation") changed the way inodes are deleted and obviated the need for
those two members.

Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ replace changelog by Nikolay's version ]
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c