Commit c16ca1ad authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

nvmf: remove app framework subsystem from library



It is no longer needed, since the nvmf_tgt app handles initialization
and shutdown.

Change-Id: I051afe2b4fcbd09b32998386c63f591a0ab343c2
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent 8c931ada
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -144,21 +144,6 @@ nvmf_tgt_init(uint16_t max_queue_depth, uint16_t max_queues_per_sess,
	return 0;
}

static int
nvmf_tgt_subsystem_initialize(void)
{
	return 0;
}

static int
nvmf_tgt_subsystem_fini(void)
{
	return 0;
}

SPDK_SUBSYSTEM_REGISTER(nvmf, nvmf_tgt_subsystem_initialize, nvmf_tgt_subsystem_fini, NULL)
SPDK_SUBSYSTEM_DEPEND(nvmf, bdev)

SPDK_TRACE_REGISTER_FN(nvmf_trace)
{
	spdk_trace_register_object(OBJECT_NVMF_IO, 'r');
+0 −1
Original line number Diff line number Diff line
@@ -36,7 +36,6 @@

#include "nvmf_internal.h"

#include "spdk/event.h"
#include "spdk/nvme.h"
#include "spdk/queue.h"
#include "spdk/bdev.h"