aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/session
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2017-05-16 22:05:57 -0400
committerDave Wallace <dwallacelf@gmail.com>2017-05-18 22:08:53 +0000
commitf264236c61bfe04e16371191786df7f180243eb5 (patch)
treec3bc6bcfb79d280ebfaf2d6cb695f46a4b6f4943 /src/vnet/session
parent06d110189e54220c533c5fe0cea7f23e531284b9 (diff)
Remove nop code from session_manager_add_first_segment().
Change-Id: I071e8d78ed9312ebf8e572bf01ece447ce1a1835 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'src/vnet/session')
-rw-r--r--src/vnet/session/segment_manager.c2
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);