ustcomm: move function to destroy app socket to ustcomm
[ust.git] / libust / tracectl.c
index a52b208f34b369a6887a59f5ce95da94d48a85d4..47ca740781ebb0528c80d62c9e397702b8e415dc 100644 (file)
@@ -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
This page took 0.022983 seconds and 4 git commands to generate.