diff options
author | Jim Harris <jim.harris@samsung.com> | 2024-09-18 14:37:04 -0700 |
---|---|---|
committer | Jim Harris <jim.harris@samsung.com> | 2024-10-01 13:33:41 +0000 |
commit | daeaec816024719f6ed0d262615c598edfed0e3c (patch) | |
tree | 44f8cee16ed460b40484f70684cdca2b71ae7b40 | |
parent | 78f92084e1011d309019a5240553788eb70581c4 (diff) |
test/unit: remove unneeded MOCKs from ftl unit tests
Signed-off-by: Jim Harris <jim.harris@samsung.com>
Change-Id: Idfc67d14b68cd08696a6326c1479c510e8027d65
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25013
Reviewed-by: Ben Walker <ben@nvidia.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Reviewed-by: Yalong Wang <yalong9@staff.sina.com.cn>
-rw-r--r-- | test/unit/lib/ftl/ftl_io.c/ftl_io_ut.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/unit/lib/ftl/ftl_io.c/ftl_io_ut.c b/test/unit/lib/ftl/ftl_io.c/ftl_io_ut.c index 8ee2a9b92..84e67c77a 100644 --- a/test/unit/lib/ftl/ftl_io.c/ftl_io_ut.c +++ b/test/unit/lib/ftl/ftl_io.c/ftl_io_ut.c @@ -54,11 +54,6 @@ DEFINE_STUB(spdk_bdev_write_zeroes_blocks, int, (struct spdk_bdev_desc *desc, struct spdk_io_channel *ch, uint64_t offset_blocks, uint64_t num_blocks, spdk_bdev_io_completion_cb cb, void *cb_arg), 0); -DEFINE_STUB(spdk_mempool_create_ctor, struct spdk_mempool *, - (const char *name, size_t count, size_t ele_size, size_t cache_size, - int socket_id, spdk_mempool_obj_cb_t *obj_init, void *obj_init_arg), NULL); -DEFINE_STUB(spdk_mempool_obj_iter, uint32_t, - (struct spdk_mempool *mp, spdk_mempool_obj_cb_t obj_cb, void *obj_cb_arg), 0); DEFINE_STUB_V(ftl_reloc, (struct ftl_reloc *reloc)); DEFINE_STUB_V(ftl_reloc_free, (struct ftl_reloc *reloc)); DEFINE_STUB_V(ftl_reloc_halt, (struct ftl_reloc *reloc)); |