Skip to content

Commit 95e69b1

Browse files
fdmananagregkh
authored andcommitted
btrfs: remove unnecessary prototype declarations at disk-io.c
[ Upstream commit 184533e ] We have a few static functions at disk-io.c for which we have a forward declaration of their prototype, but it's not needed because all those functions are defined before they are called, so remove them. Signed-off-by: Filipe Manana <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]> Stable-dep-of: fb33eb2 ("btrfs: fix leak of qgroup extent records after transaction abort") Signed-off-by: Sasha Levin <[email protected]>
1 parent be70a6c commit 95e69b1

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

fs/btrfs/disk-io.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,6 @@
5151
BTRFS_SUPER_FLAG_METADUMP |\
5252
BTRFS_SUPER_FLAG_METADUMP_V2)
5353

54-
static void btrfs_destroy_ordered_extents(struct btrfs_root *root);
55-
static int btrfs_destroy_delayed_refs(struct btrfs_transaction *trans,
56-
struct btrfs_fs_info *fs_info);
57-
static void btrfs_destroy_delalloc_inodes(struct btrfs_root *root);
58-
static int btrfs_destroy_marked_extents(struct btrfs_fs_info *fs_info,
59-
struct extent_io_tree *dirty_pages,
60-
int mark);
61-
static int btrfs_destroy_pinned_extent(struct btrfs_fs_info *fs_info,
62-
struct extent_io_tree *pinned_extents);
6354
static int btrfs_cleanup_transaction(struct btrfs_fs_info *fs_info);
6455
static void btrfs_error_commit_super(struct btrfs_fs_info *fs_info);
6556

0 commit comments

Comments
 (0)