Skip to content

Commit ce1d7db

Browse files
committed
Dead code
1 parent 10c4e68 commit ce1d7db

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

bin_tests/preload/preload.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
#include <errno.h>
77
#include <fcntl.h>
88
#include <pthread.h>
9-
#include <signal.h>
109
#include <stddef.h>
1110
#include <stdio.h>
1211
#include <stdlib.h>
@@ -53,10 +52,6 @@ static __thread int collector_marked = 0;
5352
// Called by the collector process to enable detection in the collector only
5453
void dd_preload_logger_mark_collector(void) {
5554
collector_marked = 1;
56-
if (log_fd >= 0 || !collector_marked) {
57-
// Already initialized or not a collector
58-
return;
59-
}
6055
}
6156

6257
static void write_int(int fd, long value) {

0 commit comments

Comments
 (0)