summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetri Latvala <petri.latvala@intel.com>2017-03-08 16:44:33 +0200
committerPetri Latvala <petri.latvala@intel.com>2017-03-10 13:15:20 +0200
commitbb4d605f6dc1e7438560cef91f60e75bd3900f89 (patch)
tree2f157d0844181c40b40daeeeb47945f9af23e73b
parent3c2d5949720584a7e94db0c28a1a95a67c31e847 (diff)
tools/intel_vbt_decode: Remove unused code
efp_conn() and related have been unused since 86a546f6f798 ("tools/intel_bios_reader: Dump out more information from the child device structure") Signed-off-by: Petri Latvala <petri.latvala@intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com>
-rw-r--r--tools/intel_vbt_decode.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/tools/intel_vbt_decode.c b/tools/intel_vbt_decode.c
index 301cd1cc..2984a11e 100644
--- a/tools/intel_vbt_decode.c
+++ b/tools/intel_vbt_decode.c
@@ -372,28 +372,6 @@ static const char *efp_port(uint8_t type)
return "unknown";
}
-static const struct {
- unsigned short type;
- const char *name;
-} efp_conn_info[] = {
- { DEVICE_INFO_NONE, "N/A" },
- { DEVICE_INFO_HDMI_CERT, "HDMI certified" },
- { DEVICE_INFO_DP, "DisplayPort" },
- { DEVICE_INFO_DVI, "DVI" },
-};
-static const int num_efp_conn_info = sizeof(efp_conn_info) / sizeof(efp_conn_info[0]);
-
-static const char *efp_conn(uint8_t type)
-{
- int i;
-
- for (i = 0; i < num_efp_conn_info; i++)
- if (efp_conn_info[i].type == type)
- return efp_conn_info[i].name;
-
- return "unknown";
-}
-
static void dump_child_device(struct context *context,
const struct child_device_config *child)
{