summaryrefslogtreecommitdiff
path: root/util/ec_parse_panicinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/ec_parse_panicinfo.c')
-rw-r--r--util/ec_parse_panicinfo.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/util/ec_parse_panicinfo.c b/util/ec_parse_panicinfo.c
deleted file mode 100644
index 5db8ed2e05..0000000000
--- a/util/ec_parse_panicinfo.c
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2016 The Chromium OS Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- *
- * Standalone utility to parse EC panicinfo.
- */
-
-#include <stdint.h>
-#include <stdio.h>
-#include "ec_panicinfo.h"
-
-int main(int argc, char *argv[])
-{
- struct panic_data pdata;
-
- if (fread(&pdata, sizeof(pdata), 1, stdin) != 1) {
- fprintf(stderr, "Error reading panicinfo from stdin.\n");
- return 1;
- }
-
- return parse_panic_info(&pdata) ? 1 : 0;
-}