summaryrefslogtreecommitdiff
path: root/ncl/ncl.c
diff options
context:
space:
mode:
authorOleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>2014-08-29 12:47:51 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2014-09-08 00:40:51 +0200
commit079de7639e3067320c84b7a94dafb9f24cbf567c (patch)
tree57fbbc9c82ee8ce8c5631dd8cc852f31ed3f76fd /ncl/ncl.c
parent09592ef6b9321738c03ca87625fd1152802457c6 (diff)
downloadneardal-079de7639e3067320c84b7a94dafb9f24cbf567c.tar.gz
neardal-079de7639e3067320c84b7a94dafb9f24cbf567c.tar.bz2
neardal-079de7639e3067320c84b7a94dafb9f24cbf567c.zip
Remove unused code.
Diffstat (limited to 'ncl/ncl.c')
-rw-r--r--ncl/ncl.c23
1 files changed, 1 insertions, 22 deletions
diff --git a/ncl/ncl.c b/ncl/ncl.c
index bee639a..8b50c20 100644
--- a/ncl/ncl.c
+++ b/ncl/ncl.c
@@ -332,31 +332,10 @@ void ncl_finalize(void)
g_main_loop_unref(gNclCtx.main_loop);
}
-/*
-static void signal_handler(int signum)
-{
- NCL_CMD_PRINTERR("Receive signal %d\n", signum);
-}
-*/
static NCLError ncl_prv_init(char *execCmdLineStr)
{
-/* struct sigaction sa;
- int err = NCLERR_NOERROR; */
-
- /* Initialize Test App context... */
+ /* Initialize Test App context */
memset(&gNclCtx, 0, sizeof(gNclCtx));
-
-/*
- sa.sa_handler = signal_handler;
- sigemptyset(&sa.sa_mask);
- sa.sa_flags = SA_RESTART;
- if (sigaction(SIGINT, &sa, NULL) == -1)
- {
- NCL_CMD_PRINTERR("Unable to handle system signals\n");
- return NCLERR_INIT;
- }
-*/
-
gNclCtx.main_loop = g_main_loop_new(NULL, FALSE);
/* Initialize command line interpretor context */