diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2017-05-16 22:05:57 -0400 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2017-05-18 22:08:53 +0000 |
commit | f264236c61bfe04e16371191786df7f180243eb5 (patch) | |
tree | c3bc6bcfb79d280ebfaf2d6cb695f46a4b6f4943 | |
parent | 06d110189e54220c533c5fe0cea7f23e531284b9 (diff) |
Remove nop code from session_manager_add_first_segment().
Change-Id: I071e8d78ed9312ebf8e572bf01ece447ce1a1835
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
-rw-r--r-- | src/vnet/session/segment_manager.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vnet/session/segment_manager.c b/src/vnet/session/segment_manager.c index e053232001d..b13df21ca9e 100644 --- a/src/vnet/session/segment_manager.c +++ b/src/vnet/session/segment_manager.c @@ -94,11 +94,9 @@ session_manager_add_segment (segment_manager_t * sm) int session_manager_add_first_segment (segment_manager_t * sm, u32 segment_size) { - svm_fifo_segment_create_args_t _ca, *ca = &_ca; u8 *segment_name; int rv; - memset (ca, 0, sizeof (*ca)); segment_name = format (0, "%d-%d%c", getpid (), segment_name_counter++, 0); rv = session_manager_add_segment_i (sm, segment_size, segment_name); vec_free (segment_name); |