autotest: Delete servo hostname fallback
am: 46e01a463c
Change-Id: I08172564f354401667fdd957dad1d7541c45ea45
diff --git a/server/hosts/servo_host.py b/server/hosts/servo_host.py
index d33a51e..7d55709 100644
--- a/server/hosts/servo_host.py
+++ b/server/hosts/servo_host.py
@@ -740,15 +740,6 @@
servo_args = {k: v for k, v in info.attributes.iteritems()
if k in SERVO_ATTR_KEYS}
- # TODO(jrbarnette): This test to use the default lab servo hostname
- # is a legacy that we need only until every host in the DB has
- # proper attributes.
- if (SERVO_HOST_ATTR not in servo_args
- and not (utils.in_moblab_ssp() or lsbrelease_utils.is_moblab())):
- servo_host = make_servo_hostname(dut_host.hostname)
- if utils.host_is_in_lab_zone(servo_host):
- servo_args[SERVO_HOST_ATTR] = servo_host
-
if SERVO_PORT_ATTR in servo_args:
try:
servo_args[SERVO_PORT_ATTR] = int(servo_args[SERVO_PORT_ATTR])