summaryrefslogtreecommitdiffstats
path: root/frup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'frup.cpp')
-rw-r--r--frup.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/frup.cpp b/frup.cpp
index b3b2942..299c7cc 100644
--- a/frup.cpp
+++ b/frup.cpp
@@ -625,7 +625,6 @@ void _append_to_dict(uint8_t vpd_key_id, uint8_t* vpd_key_val,
IPMI_FRU_TYPE_LENGTH_TYPE_CODE_SHIFT;
int vpd_val_len =
type_length & IPMI_FRU_TYPE_LENGTH_NUMBER_OF_DATA_BYTES_MASK;
- int sdr = 0;
/* Needed to convert each uint8_t byte to a ascii */
char bin_byte[3] = {0};
@@ -690,15 +689,6 @@ void _append_to_dict(uint8_t vpd_key_id, uint8_t* vpd_key_val,
free(bin_in_ascii);
bin_in_ascii = NULL;
}
-
- if (sdr < 0)
- {
-#if IPMI_FRU_PARSER_DEBUG
- printf(
- "_append_to_dict : sd_bus_message_append Failed [ %d ] for [%s]\n",
- sdr, vpd_key_names[vpd_key_id]);
-#endif
- }
}
int parse_fru_area(const uint8_t area, const void* msgbuf, const size_t len,
OpenPOWER on IntegriCloud