X-Git-Url: http://git.lttng.org/?p=ust.git;a=blobdiff_plain;f=libust%2Ftracectl.c;h=47ca740781ebb0528c80d62c9e397702b8e415dc;hp=a52b208f34b369a6887a59f5ce95da94d48a85d4;hb=803a4f584bbc64ff44173ced627636f9e6db6618;hpb=79cb25368d3d2069c7189c45ccb751c9f9fcc59d diff --git a/libust/tracectl.c b/libust/tracectl.c index a52b208..47ca740 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -793,23 +793,6 @@ static int init_socket(void) return ustcomm_init_app(getpid(), &ustcomm_app); } -/* FIXME: reenable this to delete socket file. */ - -#if 0 -static void destroy_socket(void) -{ - int result; - - if(mysocketfile[0] == '\0') - return; - - result = unlink(mysocketfile); - if(result == -1) { - PERROR("unlink"); - } -} -#endif - static int init_signal_handler(void) { /* Attempt to handler SIGIO. If the main program wants to