From fafb0a2998296c564cbc26c2c0fa5142b181b332 Mon Sep 17 00:00:00 2001 From: Benjamin Poirier Date: Wed, 25 Nov 2009 15:06:03 -0500 Subject: [PATCH] Remove unused g_info definitions Signed-off-by: Benjamin Poirier --- lttv/lttv/sync/data_structures.c | 4 ---- lttv/lttv/sync/event_analysis_chull.c | 5 ----- lttv/lttv/sync/event_analysis_linreg.c | 5 ----- lttv/lttv/sync/event_matching_broadcast.c | 5 ----- lttv/lttv/sync/event_matching_tcp.c | 5 ----- lttv/lttv/sync/event_processing_lttng_common.c | 5 ----- lttv/lttv/sync/event_processing_lttng_null.c | 5 ----- lttv/lttv/sync/event_processing_lttng_standard.c | 5 ----- lttv/lttv/sync/sync_chain_lttv.c | 5 ----- lttv/lttv/sync/unittest.c | 5 ----- 10 files changed, 49 deletions(-) diff --git a/lttv/lttv/sync/data_structures.c b/lttv/lttv/sync/data_structures.c index 5983eaf6..6bdf0b25 100644 --- a/lttv/lttv/sync/data_structures.c +++ b/lttv/lttv/sync/data_structures.c @@ -34,10 +34,6 @@ #include "data_structures.h" -#ifndef g_info -#define g_info(format...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format) -#endif - // TCP sequence numbers use clock arithmetic, these comparison functions take // that into account #define SEQ_LT(a,b) ((int32_t)((a)-(b)) < 0) diff --git a/lttv/lttv/sync/event_analysis_chull.c b/lttv/lttv/sync/event_analysis_chull.c index 4dd07373..c080235c 100644 --- a/lttv/lttv/sync/event_analysis_chull.c +++ b/lttv/lttv/sync/event_analysis_chull.c @@ -33,11 +33,6 @@ #include "event_analysis_chull.h" -#ifndef g_info -#define g_info(format...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format) -#endif - - typedef enum { LOWER, diff --git a/lttv/lttv/sync/event_analysis_linreg.c b/lttv/lttv/sync/event_analysis_linreg.c index 764a635f..2ceecf3e 100644 --- a/lttv/lttv/sync/event_analysis_linreg.c +++ b/lttv/lttv/sync/event_analysis_linreg.c @@ -32,11 +32,6 @@ #include "event_analysis_linreg.h" -#ifndef g_info -#define g_info(format...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format) -#endif - - // Functions common to all analysis modules static void initAnalysisLinReg(SyncState* const syncState); static void destroyAnalysisLinReg(SyncState* const syncState); diff --git a/lttv/lttv/sync/event_matching_broadcast.c b/lttv/lttv/sync/event_matching_broadcast.c index 44258834..ff45a8a7 100644 --- a/lttv/lttv/sync/event_matching_broadcast.c +++ b/lttv/lttv/sync/event_matching_broadcast.c @@ -31,11 +31,6 @@ #include "event_matching_broadcast.h" -#ifndef g_info -#define g_info(format...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format) -#endif - - // Functions common to all matching modules static void initMatchingBroadcast(SyncState* const syncState); static void destroyMatchingBroadcast(SyncState* const syncState); diff --git a/lttv/lttv/sync/event_matching_tcp.c b/lttv/lttv/sync/event_matching_tcp.c index 45255e32..e9cdce92 100644 --- a/lttv/lttv/sync/event_matching_tcp.c +++ b/lttv/lttv/sync/event_matching_tcp.c @@ -31,11 +31,6 @@ #include "event_matching_tcp.h" -#ifndef g_info -#define g_info(format...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format) -#endif - - // Functions common to all matching modules static void initMatchingTCP(SyncState* const syncState); static void destroyMatchingTCP(SyncState* const syncState); diff --git a/lttv/lttv/sync/event_processing_lttng_common.c b/lttv/lttv/sync/event_processing_lttng_common.c index f25e0b61..c3957eb2 100644 --- a/lttv/lttv/sync/event_processing_lttng_common.c +++ b/lttv/lttv/sync/event_processing_lttng_common.c @@ -24,11 +24,6 @@ #include "event_processing_lttng_common.h" -#ifndef g_info -#define g_info(format...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format) -#endif - - /* * Initialize the GQuarks needed to register the event hooks for * synchronization diff --git a/lttv/lttv/sync/event_processing_lttng_null.c b/lttv/lttv/sync/event_processing_lttng_null.c index 1320753e..580185fb 100644 --- a/lttv/lttv/sync/event_processing_lttng_null.c +++ b/lttv/lttv/sync/event_processing_lttng_null.c @@ -28,11 +28,6 @@ #include "event_processing_lttng_null.h" -#ifndef g_info -#define g_info(format...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format) -#endif - - // Functions common to all processing modules static void initProcessingLTTVNull(SyncState* const syncState, LttvTracesetContext* const traceSetContext); diff --git a/lttv/lttv/sync/event_processing_lttng_standard.c b/lttv/lttv/sync/event_processing_lttng_standard.c index 733c4081..b5ec8d41 100644 --- a/lttv/lttv/sync/event_processing_lttng_standard.c +++ b/lttv/lttv/sync/event_processing_lttng_standard.c @@ -35,11 +35,6 @@ #include "event_processing_lttng_standard.h" -#ifndef g_info -#define g_info(format...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format) -#endif - - // Functions common to all processing modules static void initProcessingLTTVStandard(SyncState* const syncState, LttvTracesetContext* const traceSetContext); diff --git a/lttv/lttv/sync/sync_chain_lttv.c b/lttv/lttv/sync/sync_chain_lttv.c index 43963798..fbbf7dfe 100644 --- a/lttv/lttv/sync/sync_chain_lttv.c +++ b/lttv/lttv/sync/sync_chain_lttv.c @@ -36,11 +36,6 @@ #include "sync_chain.h" -#ifndef g_info -#define g_info(format...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format) -#endif - - static void init(); static void destroy(); diff --git a/lttv/lttv/sync/unittest.c b/lttv/lttv/sync/unittest.c index d35a59a2..9b99d32b 100644 --- a/lttv/lttv/sync/unittest.c +++ b/lttv/lttv/sync/unittest.c @@ -37,11 +37,6 @@ #include "sync_chain.h" -#ifndef g_info -#define g_info(format...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, format) -#endif - - static void timeDiff(struct timeval* const end, const struct timeval* const start); static void usage(const char* const programName); static gint gcfCompareAnalysis(gconstpointer a, gconstpointer b); -- 2.34.1