]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
btrfs: remove unused parameter from __push_leaf_left
authorDavid Sterba <dsterba@suse.com>
Fri, 10 Feb 2017 18:14:36 +0000 (19:14 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 17 Feb 2017 11:03:52 +0000 (12:03 +0100)
Unused since long ago.

Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.c

index 2283f92b5484b7efb5e037d34fb537123571d1b2..b98e90a3eee738c8466e847581cae1796764f046 100644 (file)
@@ -3825,8 +3825,7 @@ static int push_leaf_right(struct btrfs_trans_handle *trans, struct btrfs_root
  * item at 'max_slot' won't be touched.  Use (u32)-1 to make us do all the
  * items
  */
-static noinline int __push_leaf_left(struct btrfs_trans_handle *trans,
-                                    struct btrfs_fs_info *fs_info,
+static noinline int __push_leaf_left(struct btrfs_fs_info *fs_info,
                                     struct btrfs_path *path, int data_size,
                                     int empty, struct extent_buffer *left,
                                     int free_space, u32 right_nritems,
@@ -4035,7 +4034,7 @@ static int push_leaf_left(struct btrfs_trans_handle *trans, struct btrfs_root
                goto out;
        }
 
-       return __push_leaf_left(trans, fs_info, path, min_data_size,
+       return __push_leaf_left(fs_info, path, min_data_size,
                               empty, left, free_space, right_nritems,
                               max_slot);
 out: