bdevperf: remove unnecessary caller_ctx access

The bdev layer manages the bdev_io caller_ctx internally.

Change-Id: Icb5a4f26b090d6f761af988fb26a319005e66a6d
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2017-05-04 13:58:29 -07:00 committed by Ben Walker
parent 825379870b
commit cdfa0091f7

View File

@ -215,7 +215,6 @@ bdevperf_complete(struct spdk_bdev_io *bdev_io, enum spdk_bdev_io_status status,
target->current_queue_depth--;
target->io_completed++;
bdev_io->caller_ctx = NULL;
rte_mempool_put(task_pool, task);
spdk_bdev_free_io(bdev_io);