[PATCH v4 01/18] btrfs: Cleanup the unused struct async_sched.

Qu Wenruo
Tue, 17 Dec 2013 09:31:42 -0000

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>
---
Changelog:
v1->v2:
  None.
v2->v3:
  None.
v3->v4:
  None:
---
 fs/btrfs/volumes.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c
index 92303f4..c63ed39 100644
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -5322,13 +5322,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.