summaryrefslogtreecommitdiff
path: root/host/lib/crossystem.c
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/crossystem.c')
-rw-r--r--host/lib/crossystem.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/host/lib/crossystem.c b/host/lib/crossystem.c
index 00f4f1d2..af0acc40 100644
--- a/host/lib/crossystem.c
+++ b/host/lib/crossystem.c
@@ -539,8 +539,6 @@ int VbGetSystemPropertyInt(const char* name) {
const char* VbGetSystemPropertyString(const char* name, char* dest,
size_t size) {
- static const char unknown_string[] = "unknown";
-
/* Check architecture-dependent properties first */
if (VbGetArchPropertyString(name, dest, size))
return dest;
@@ -562,8 +560,6 @@ const char* VbGetSystemPropertyString(const char* name, char* dest,
return GetVdatString(dest, size, VDAT_STRING_LOAD_FIRMWARE_DEBUG);
} else if (!strcasecmp(name, "vdat_lkdebug")) {
return GetVdatString(dest, size, VDAT_STRING_LOAD_KERNEL_DEBUG);
- } else if (!strcasecmp(name, "ddr_type")) {
- return unknown_string;
} else if (!strcasecmp(name, "fw_try_next")) {
return VbGetNvStorage(VBNV_FW_TRY_NEXT) ? "B" : "A";
} else if (!strcasecmp(name, "fw_tried")) {