]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Remove unused arguments from btrfs_changed_cb_t
authorNikolay Borisov <nborisov@suse.com>
Mon, 21 Aug 2017 09:43:45 +0000 (12:43 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 30 Oct 2017 11:27:56 +0000 (12:27 +0100)
commitb80ca09dacb0449dc572d9e1dd15095a474f43d8
tree7c4b66650a68a27e4ab34de6c0bf06dfd985f3fa
parent5ee961ae5472e93083ee81e8c987a793aeff779a
btrfs: Remove unused arguments from btrfs_changed_cb_t

btrfs_changed_cb_t represents the signature of the callback being passed
to btrfs_compare_trees. Currently there is only one such callback,
namely changed_cb in send.c. This function doesn't really uses the first
2 parameters, i.e. the roots. Since there are not other functions
implementing the btrfs_changed_cb_t let's remove the unused parameters
from the prototype and implementation.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.c
fs/btrfs/ctree.h
fs/btrfs/send.c