summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsvc/media_controller_svc.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/svc/media_controller_svc.c b/svc/media_controller_svc.c
index fa6e758..0c7dcef 100755
--- a/svc/media_controller_svc.c
+++ b/svc/media_controller_svc.c
@@ -240,14 +240,6 @@ gboolean mc_svc_thread(void *data)
return FALSE;
}
- /* Create list for command*/
- mc_svc_data->mc_svc_list = g_list_alloc();
- if (mc_svc_data->mc_svc_list == NULL) {
- mc_error("Failed to allocate list");
- close(sockfd);
- return FALSE;
- }
-
context = g_main_context_new();
if (context == NULL) {
mc_error("g_main_context_new failed");