aboutsummaryrefslogtreecommitdiff
path: root/block/qed.h
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2016-11-14 16:26:14 +0100
committerKevin Wolf <kwolf@redhat.com>2017-06-26 14:51:14 +0200
commita8165d2d6619a29b99451fd0a310d64693d86c3f (patch)
tree5d827b8c21c3fb0b4d265cfb956fcf2226bbd271 /block/qed.h
parentf6513529c67509264fc602c4a537ec24bcb7b26f (diff)
qed: Remove callback from qed_read_l2_table()
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/qed.h')
-rw-r--r--block/qed.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/block/qed.h b/block/qed.h
index ce8c314089..c71505855d 100644
--- a/block/qed.h
+++ b/block/qed.h
@@ -237,8 +237,7 @@ int qed_write_l1_table_sync(BDRVQEDState *s, unsigned int index,
unsigned int n);
int qed_read_l2_table_sync(BDRVQEDState *s, QEDRequest *request,
uint64_t offset);
-void qed_read_l2_table(BDRVQEDState *s, QEDRequest *request, uint64_t offset,
- BlockCompletionFunc *cb, void *opaque);
+int qed_read_l2_table(BDRVQEDState *s, QEDRequest *request, uint64_t offset);
void qed_write_l2_table(BDRVQEDState *s, QEDRequest *request,
unsigned int index, unsigned int n, bool flush,
BlockCompletionFunc *cb, void *opaque);