mosys: Remove "variant" platform subcommand

This is to be replaced with "model".

BUG=chromium:671391
BRANCH=none
TEST=build tested only

Change-Id: I67bbf0c0ec3fca236045e22e8fd51aeeb72f70ee
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/427341
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Martin Roth <martinroth@chromium.org>
diff --git a/core/command/platform.c b/core/command/platform.c
index 854c881..224a1da 100644
--- a/core/command/platform.c
+++ b/core/command/platform.c
@@ -102,18 +102,6 @@
 	return print_platforminfo("model", intf->cb->sys->model(intf));
 }
 
-static int platform_variant_cmd(struct platform_intf *intf,
-                               struct platform_cmd *cmd,
-                               int argc, char **argv)
-{
-	if (!intf->cb || !intf->cb->sys || !intf->cb->sys->variant) {
-		errno = ENOSYS;
-		return -1;
-	}
-
-	return print_platforminfo("variant", intf->cb->sys->variant(intf));
-}
-
 static int print_platforminfo(const char *key, const char *value)
 {
 	struct kv_pair *kv = kv_pair_new();
@@ -176,12 +164,6 @@
 		.arg	= { .func = platform_family_cmd }
 	},
 	{
-		.name	= "variant",
-		.desc	= "Display Platform Variant",
-		.type	= ARG_TYPE_GETTER,
-		.arg	= { .func = platform_variant_cmd }
-	},
-	{
 		.name	= "reset",
 		.desc	= "(Hard-)Reset Platform",
 		.type	= ARG_TYPE_SETTER,