From b6e6d4fc158e5b43cfa204c317742011250070e6 Mon Sep 17 00:00:00 2001 From: Liviu Chircu Date: Fri, 1 Feb 2019 18:29:03 +0200 Subject: [PATCH] freeswitch_scripting: Remove dead code (cherry picked from commit 13d77ed4bdccdf77d0142900d43b76d490faf4c4) --- modules/freeswitch_scripting/fss_mod.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/freeswitch_scripting/fss_mod.c b/modules/freeswitch_scripting/fss_mod.c index bc2a7a74bd..aa368f4370 100644 --- a/modules/freeswitch_scripting/fss_mod.c +++ b/modules/freeswitch_scripting/fss_mod.c @@ -119,9 +119,6 @@ static int fs_sub_add_url(modparam_t type, void *string) struct str_dlist *strl; str url = {string, strlen(string)}; - if (!startup_fs_subs.next) - INIT_LIST_HEAD(&startup_fs_subs); - strl = shm_malloc(sizeof *strl); if (!strl) { LM_ERR("oom\n");