tracectl: remove unused function
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Wed, 17 Mar 2010 03:56:19 +0000 (23:56 -0400)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Wed, 17 Mar 2010 03:56:19 +0000 (23:56 -0400)
libust/tracectl.c

index 064b72bd5fd9dc370654fb7c10873b8ef3c1ffd1..6c839291af6f54a41ca3023dcc041b987f1baa66 100644 (file)
@@ -123,28 +123,6 @@ static void print_markers(FILE *fp)
 
 static int init_socket(void);
 
-int fd_notif = -1;
-void notif_cb(void)
-{
-       int result;
-       struct trctl_msg msg;
-
-       /* FIXME: fd_notif should probably be protected by a spinlock */
-
-       if(fd_notif == -1)
-               return;
-
-       msg.type = MSG_NOTIF;
-       msg.size = sizeof(msg.type);
-
-       /* FIXME: don't block here */
-       result = write(fd_notif, &msg, msg.size+sizeof(msg.size));
-       if(result == -1) {
-               PERROR("write");
-               return;
-       }
-}
-
 /* Ask the daemon to collect a trace called trace_name and being
  * produced by this pid.
  *
This page took 0.024954 seconds and 4 git commands to generate.