Merge "Move quantenna-kmsgd to vendor/quantenna/drivers."
diff --git a/cmds/Makefile b/cmds/Makefile
index 77e5a9d..11b2c8b 100644
--- a/cmds/Makefile
+++ b/cmds/Makefile
@@ -69,10 +69,6 @@
 ARCH_TARGETS += ibeacon eddystone
 endif
 
-ifeq ($(BUILD_QUANTENNA),y)
-ARCH_TARGETS += quantenna-kmsgd
-endif
-
 ifeq ($(BUILD_STATUTILS),y)
 TARGETS += statpitcher statcatcher
 endif
diff --git a/cmds/quantenna-kmsgd.c b/cmds/quantenna-kmsgd.c
deleted file mode 100644
index 2178459..0000000
--- a/cmds/quantenna-kmsgd.c
+++ /dev/null
@@ -1,31 +0,0 @@
-// Daemon that periodically polls for a Quantenna device's /proc/kmsg data and
-// prints it to stdout.
-
-#include <stdbool.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <unistd.h>
-
-int main(void) {
-  while (true) {
-    FILE *in = popen("qcsapi_pcie_static get_custom_value kmsgcat", "r");
-    if (in == NULL) {
-      perror("could not retrieve /proc/kmsg from Quantenna device");
-      return EXIT_FAILURE;
-    }
-
-    char buf[128];
-    int total = 0;
-    int n;
-    while ((n = fread(buf, 1, sizeof(buf), in)) > 0) {
-      fwrite(buf, 1, n, stdout);
-      total += n;
-    }
-
-    pclose(in);
-
-    if (total == 0) {
-      sleep(5);
-    }
-  }
-}