[sysprof] libsysprof-capture: remove unused code



commit 135b5d2fbf23ca64dd9f7e8fbf73fd16add6d2e7
Author: Christian Hergert <chergert redhat com>
Date:   Sun Feb 16 20:56:12 2020 -0800

    libsysprof-capture: remove unused code

 src/libsysprof-capture/sysprof-collector.c | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/src/libsysprof-capture/sysprof-collector.c b/src/libsysprof-capture/sysprof-collector.c
index eac09ca..4a0a88e 100644
--- a/src/libsysprof-capture/sysprof-collector.c
+++ b/src/libsysprof-capture/sysprof-collector.c
@@ -88,12 +88,6 @@ typedef struct
   int pid;
 } SysprofCollector;
 
-#ifdef __linux__
-# define sysprof_current_cpu (sched_getcpu())
-#else
-# define sysprof_current_cpu (-1)
-#endif
-
 #define COLLECTOR_MAGIC_CREATING ((gpointer)&creating)
 
 static MappedRingBuffer       *request_writer         (void);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]