[01/13] gard: show: Remove "Res Recovery" field

Message ID 20171108085918.12590-2-oohall@gmail.com
State New
Headers show
Series
  • [01/13] gard: show: Remove "Res Recovery" field
Related show

Commit Message

Oliver O'Halloran Nov. 8, 2017, 8:59 a.m.
This field has never been populated by hostboot on OpenPower systems
so there's no real point in reporting it's contents.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
---
 external/gard/gard.c                     | 1 -
 external/gard/test/results/01-show_1.out | 1 -
 2 files changed, 2 deletions(-)

Patch

diff --git a/external/gard/gard.c b/external/gard/gard.c
index 88916c2db52a..1624a32968f9 100644
--- a/external/gard/gard.c
+++ b/external/gard/gard.c
@@ -367,7 +367,6 @@  static int do_show_i(struct gard_ctx *ctx, int pos, struct gard_record *gard, vo
 		printf("========================\n");
 		printf("Error ID:     0x%08x\n", be32toh(gard->errlog_eid));
 		printf("Error Type:         0x%02x\n", gard->error_type);
-		printf("Res Recovery:       0x%02x\n", gard->resource_recovery);
 		printf("Path Type: %s\n", path_type_to_str(gard->target_id.type_size >> PATH_TYPE_SHIFT));
 		count = gard->target_id.type_size & PATH_ELEMENTS_MASK;
 		for (i = 0; i < count && i < MAX_PATH_ELEMENTS; i++)
diff --git a/external/gard/test/results/01-show_1.out b/external/gard/test/results/01-show_1.out
index 4e5726b438f0..be2d3a5a765f 100644
--- a/external/gard/test/results/01-show_1.out
+++ b/external/gard/test/results/01-show_1.out
@@ -2,7 +2,6 @@  Record ID:    0x00000001
 ========================
 Error ID:     0x90000015
 Error Type:         0xe6
-Res Recovery:       0xff
 Path Type: physical
 >System, Instance #0
  >Node, Instance #0