diff options
-rw-r--r-- | block/sheepdog.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/block/sheepdog.c b/block/sheepdog.c index 0392ca8c9c..2180299bdd 100644 --- a/block/sheepdog.c +++ b/block/sheepdog.c @@ -449,13 +449,7 @@ static int sd_schedule_bh(QEMUBHFunc *cb, SheepdogAIOCB *acb) } acb->bh = qemu_bh_new(cb, acb); - if (!acb->bh) { - error_report("oom: %d %d\n", acb->aiocb_type, acb->aiocb_type); - return -EIO; - } - qemu_bh_schedule(acb->bh); - return 0; } |