[libFuzzer] remove stale code

git-svn-id: svn://svn.chromium.org/llvm-project/llvm/trunk/lib/Fuzzer@310325 0b72dbe1-c17f-4bc7-b9db-2b4152be0356
diff --git a/FuzzerTracePC.cpp b/FuzzerTracePC.cpp
index d42bfc2..a646c25 100644
--- a/FuzzerTracePC.cpp
+++ b/FuzzerTracePC.cpp
@@ -20,9 +20,7 @@
 #include "FuzzerIO.h"
 #include "FuzzerUtil.h"
 #include "FuzzerValueBitMap.h"
-#include <map>
 #include <set>
-#include <sstream>
 
 // The coverage counters and PCs.
 // These are declared as global variables named "__sancov_*" to simplify
diff --git a/FuzzerUtil.cpp b/FuzzerUtil.cpp
index 2d95f40..f5a7773 100644
--- a/FuzzerUtil.cpp
+++ b/FuzzerUtil.cpp
@@ -205,16 +205,6 @@
   return N;
 }
 
-bool ExecuteCommandAndReadOutput(const std::string &Command, std::string *Out) {
-  FILE *Pipe = OpenProcessPipe(Command.c_str(), "r");
-  if (!Pipe) return false;
-  char Buff[1024];
-  size_t N;
-  while ((N = fread(Buff, 1, sizeof(Buff), Pipe)) > 0)
-    Out->append(Buff, N);
-  return true;
-}
-
 size_t SimpleFastHash(const uint8_t *Data, size_t Size) {
   size_t Res = 0;
   for (size_t i = 0; i < Size; i++)
diff --git a/FuzzerUtil.h b/FuzzerUtil.h
index 62d6e61..9c90040 100644
--- a/FuzzerUtil.h
+++ b/FuzzerUtil.h
@@ -41,8 +41,6 @@
 
 unsigned NumberOfCpuCores();
 
-bool ExecuteCommandAndReadOutput(const std::string &Command, std::string *Out);
-
 // Platform specific functions.
 void SetSignalHandler(const FuzzingOptions& Options);