Skip to content

Commit

Permalink
btrfs: remove unused typedefs get_extent_t and btrfs_work_func_t
Browse files Browse the repository at this point in the history
Signed-off-by: David Sterba <dsterba@suse.com>
  • Loading branch information
David Sterba committed Jul 25, 2022
1 parent e3059ec commit bfceac7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion fs/btrfs/async-thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ struct btrfs_fs_info;
struct btrfs_workqueue;
struct btrfs_work;
typedef void (*btrfs_func_t)(struct btrfs_work *arg);
typedef void (*btrfs_work_func_t)(struct work_struct *arg);

struct btrfs_work {
btrfs_func_t func;
Expand Down
4 changes: 0 additions & 4 deletions fs/btrfs/extent_io.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,6 @@ static inline void extent_changeset_free(struct extent_changeset *changeset)

struct extent_map_tree;

typedef struct extent_map *(get_extent_t)(struct btrfs_inode *inode,
struct page *page, size_t pg_offset,
u64 start, u64 len);

int try_release_extent_mapping(struct page *page, gfp_t mask);
int try_release_extent_buffer(struct page *page);

Expand Down

0 comments on commit bfceac7

Please sign in to comment.