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: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2016-08-17 10:45:40 -07:00
parent 8c931adaa4
commit c16ca1ade7
2 changed files with 0 additions and 16 deletions

View File

@ -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');

View File

@ -36,7 +36,6 @@
#include "nvmf_internal.h"
#include "spdk/event.h"
#include "spdk/nvme.h"
#include "spdk/queue.h"
#include "spdk/bdev.h"