diff options
author | David Sterba <dsterba@suse.com> | 2018-03-08 13:47:33 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-31 01:26:55 +0200 |
commit | d0779291b1e9666aa4aac46ffd8062e3c3b0f2ab (patch) | |
tree | 86ad85c1837e9a511322ceb4e9a6a8c6de4b10a6 /fs/btrfs/disk-io.c | |
parent | a758781d4b76c38374f155e2f2cf902e13b9e50e (diff) | |
download | linux-d0779291b1e9666aa4aac46ffd8062e3c3b0f2ab.tar.gz linux-d0779291b1e9666aa4aac46ffd8062e3c3b0f2ab.tar.bz2 linux-d0779291b1e9666aa4aac46ffd8062e3c3b0f2ab.zip |
btrfs: remove unused parameters from extent_submit_bio_start_t
Remove parameters not used by any of the callbacks.
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index ee5d29a0219f..6fe5a959d56b 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -717,7 +717,6 @@ static void run_one_async_start(struct btrfs_work *work) async = container_of(work, struct async_submit_bio, work); ret = async->submit_bio_start(async->private_data, async->bio, - async->mirror_num, async->bio_flags, async->bio_offset); if (ret) async->status = ret; @@ -800,7 +799,6 @@ static blk_status_t btree_csum_one_bio(struct bio *bio) } static blk_status_t __btree_submit_bio_start(void *private_data, struct bio *bio, - int mirror_num, unsigned long bio_flags, u64 bio_offset) { /* |