Revert "Start netd before running tests on Buildbot devices."
This partially reverts commit 30d26960774aaa2c5ea647f0a90a562365efab03.
Reason for revert: No longer needed, as the ART Buildbot no longer
uses devices running Android Oreo.
Test: art/tools/run-libcore-tests.sh --mode=device
Test: art/tools/run-jdwp-tests.sh --mode=device
Bug: 74725685
Change-Id: I0df259b07f68601353330da9c4f52b91cad328fd
diff --git a/tools/setup-buildbot-device.sh b/tools/setup-buildbot-device.sh
index 1359092..8883ed5 100755
--- a/tools/setup-buildbot-device.sh
+++ b/tools/setup-buildbot-device.sh
@@ -65,21 +65,6 @@
adb shell ifconfig lo up
$verbose && adb shell ifconfig
-# Ensure netd is running, as otherwise the logcat would be spammed
-# with the following messages on devices running Android O:
-#
-# E NetdConnector: Communications error: java.io.IOException: No such file or directory
-# E mDnsConnector: Communications error: java.io.IOException: No such file or directory
-#
-# Netd was initially disabled as an attempt to solve issues with
-# network-related libcore and JDWP tests failing on devices running
-# Android O (MR1) (see b/74725685). These tests are currently
-# disabled. When a better solution has been found, we should remove
-# the following lines.
-echo -e "${green}Turning on netd${nc}"
-adb shell start netd
-$verbose && adb shell getprop init.svc.netd
-
if $verbose; then
echo -e "${green}List properties${nc}"
adb shell getprop