summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
diff options
context:
space:
mode:
authorJohannes Thumshirn <jthumshirn@suse.de>2018-11-23 09:42:27 +0100
committerDavid Sterba <dsterba@suse.com>2018-12-17 14:51:40 +0100
commit7b41ba71c1a08ae35805b562ae5e2f8ddfb8e00d (patch)
treed9a9c8a52aef1c7fcb6b7d645ff77d42d82d43fa /fs/btrfs/volumes.h
parentb3a0dd50c3951ec1b9a12ec39034194022fd8693 (diff)
downloadtalos-op-linux-7b41ba71c1a08ae35805b562ae5e2f8ddfb8e00d.tar.gz
talos-op-linux-7b41ba71c1a08ae35805b562ae5e2f8ddfb8e00d.zip
btrfs: remove btrfs_bio_end_io_t
The btrfs_bio_end_io_t typedef was introduced with commit a1d3c4786a4b ("btrfs: btrfs_multi_bio replaced with btrfs_bio") but never used anywhere. This commit also introduced a forward declaration of 'struct btrfs_bio' which is only needed for btrfs_bio_end_io_t. Remove both as they're not needed anywhere. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
-rw-r--r--fs/btrfs/volumes.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/volumes.h b/fs/btrfs/volumes.h
index 48e8bb546780..ed806649a473 100644
--- a/fs/btrfs/volumes.h
+++ b/fs/btrfs/volumes.h
@@ -300,9 +300,6 @@ struct btrfs_bio_stripe {
u64 length; /* only used for discard mappings */
};
-struct btrfs_bio;
-typedef void (btrfs_bio_end_io_t) (struct btrfs_bio *bio, int err);
-
struct btrfs_bio {
refcount_t refs;
atomic_t stripes_pending;
OpenPOWER on IntegriCloud