From: David Sterba Date: Mon, 6 Jun 2022 17:07:02 +0000 (+0200) Subject: btrfs: remove unused typedefs get_extent_t and btrfs_work_func_t X-Git-Tag: baikal/mips/sdk6.1~5160^2~76 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=b1ee911652564a5e2b8e5b2e739cb6037ed734cd;p=kernel.git btrfs: remove unused typedefs get_extent_t and btrfs_work_func_t Signed-off-by: David Sterba --- diff --git a/fs/btrfs/async-thread.h b/fs/btrfs/async-thread.h index 07960529b3601..6e2596ddae100 100644 --- a/fs/btrfs/async-thread.h +++ b/fs/btrfs/async-thread.h @@ -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; diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index 72966cf21961e..c0f1fb63eeae7 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h @@ -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);