event: remove MultiprocessGroupID config option
This was added by mistake in commit 18d26e42a3
("env: Move DPDK
intialization into the env library."). It is always dead code, because
shm_id is set to getpid() right above it, and it will never be -1.
Change-Id: I19c798a87bf7a3b12547d772b981b038857abcaa
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
55dc5a1c1b
commit
6ef4af240d
@ -281,13 +281,6 @@ spdk_app_init(struct spdk_app_opts *opts)
|
||||
opts->shm_id = getpid();
|
||||
}
|
||||
|
||||
if (opts->shm_id == -1) {
|
||||
sp = spdk_conf_find_section(config, "Global");
|
||||
if (sp != NULL) {
|
||||
opts->shm_id = spdk_conf_section_get_intval(sp, "MultiprocessGroupID");
|
||||
}
|
||||
}
|
||||
|
||||
memset(&g_spdk_app, 0, sizeof(g_spdk_app));
|
||||
g_spdk_app.config = config;
|
||||
g_spdk_app.shm_id = opts->shm_id;
|
||||
|
Loading…
Reference in New Issue
Block a user