btrfs: Cleanup the unused struct async_sched.
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Fri, 28 Feb 2014 02:46:02 +0000 (10:46 +0800)
committerJosef Bacik <jbacik@fb.com>
Mon, 10 Mar 2014 19:17:02 +0000 (15:17 -0400)
The struct async_sched is not used by any codes and can be removed.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Reviewed-by: Josef Bacik <jbacik@fusionio.com>
Tested-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fb.com>
fs/btrfs/volumes.c

index 07629e99809a3e747ff50bb62528c755a358a6af..82a63b1a36eff091ebd67b7c55ebe5d983d9ecee 100644 (file)
@@ -5323,13 +5323,6 @@ static void btrfs_end_bio(struct bio *bio, int err)
        }
 }
 
-struct async_sched {
-       struct bio *bio;
-       int rw;
-       struct btrfs_fs_info *info;
-       struct btrfs_work work;
-};
-
 /*
  * see run_scheduled_bios for a description of why bios are collected for
  * async submit.