diff mbox

block: Remove unused struct definition BlockFinishData

Message ID 1453953433-29564-1-git-send-email-famz@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Fam Zheng Jan. 28, 2016, 3:57 a.m. UTC
Unused since 94db6d2d3.

Signed-off-by: Fam Zheng <famz@redhat.com>
---
 blockjob.c | 8 --------
 1 file changed, 8 deletions(-)

Comments

Stefan Hajnoczi Jan. 28, 2016, 11:17 a.m. UTC | #1
On Thu, Jan 28, 2016 at 11:57:13AM +0800, Fam Zheng wrote:
> Unused since 94db6d2d3.
> 
> Signed-off-by: Fam Zheng <famz@redhat.com>
> ---
>  blockjob.c | 8 --------
>  1 file changed, 8 deletions(-)

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Kevin Wolf Jan. 28, 2016, 12:24 p.m. UTC | #2
Am 28.01.2016 um 04:57 hat Fam Zheng geschrieben:
> Unused since 94db6d2d3.
> 
> Signed-off-by: Fam Zheng <famz@redhat.com>

Thanks, applied to the block branch.

Kevin
diff mbox

Patch

diff --git a/blockjob.c b/blockjob.c
index 80adb9d..a692142 100644
--- a/blockjob.c
+++ b/blockjob.c
@@ -278,14 +278,6 @@  void block_job_iostatus_reset(BlockJob *job)
     }
 }
 
-struct BlockFinishData {
-    BlockJob *job;
-    BlockCompletionFunc *cb;
-    void *opaque;
-    bool cancelled;
-    int ret;
-};
-
 static int block_job_finish_sync(BlockJob *job,
                                  void (*finish)(BlockJob *, Error **errp),
                                  Error **errp)