[Skiboot] [PATCH 08/24] hdat/vpd: Don't warn and don't create a dummy "model-name"
Benjamin Herrenschmidt
benh at kernel.crashing.org
Fri Jun 23 02:22:09 AEST 2017
If the model property doesn't contain a known model number
that we can translate into a name, assume it's already a name,
stop warning and don't create an extraneous property.
Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
---
hdata/vpd.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/hdata/vpd.c b/hdata/vpd.c
index 7f3954a..a2c8906 100644
--- a/hdata/vpd.c
+++ b/hdata/vpd.c
@@ -529,9 +529,6 @@ def_model:
mi = machine_info_lookup(model->prop);
if (mi) {
model_name = mi->name;
- } else {
- model_name = "Unknown";
- prlog(PR_WARNING, "VPD: Model name %s not known\n", model->prop);
}
}
--
2.9.4
More information about the Skiboot
mailing list