btrfs: remove unused inode argument from uncompress_inline()
authorByongho Lee <bhlee.kernel@gmail.com>
Tue, 19 May 2015 14:46:45 +0000 (23:46 +0900)
committerDavid Sterba <dsterba@suse.com>
Thu, 7 Jan 2016 13:29:02 +0000 (14:29 +0100)
The inode argument is never used from the beginning, so remove it.

Signed-off-by: Byongho Lee <bhlee.kernel@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c

index a70c5790f8f5908f08f606d097fe33e6966af36b..1f7229025ec4abf6aa3ce8bc8301de9e4f7573d5 100644 (file)
@@ -6687,7 +6687,7 @@ static int merge_extent_mapping(struct extent_map_tree *em_tree,
 }
 
 static noinline int uncompress_inline(struct btrfs_path *path,
-                                     struct inode *inode, struct page *page,
+                                     struct page *page,
                                      size_t pg_offset, u64 extent_offset,
                                      struct btrfs_file_extent_item *item)
 {
@@ -6883,8 +6883,7 @@ next:
                if (create == 0 && !PageUptodate(page)) {
                        if (btrfs_file_extent_compression(leaf, item) !=
                            BTRFS_COMPRESS_NONE) {
-                               ret = uncompress_inline(path, inode, page,
-                                                       pg_offset,
+                               ret = uncompress_inline(path, page, pg_offset,
                                                        extent_offset, item);
                                if (ret) {
                                        err = ret;