Remove explicit calls to setup threadpool.
These are automatically done in auto-gen code now.
Bug: 31226656
Test: mma, hidl_test
Change-Id: If16ab2155f753fa3f32713c51dc7f4f756b54dcc
(cherry picked from commit b674f93b49b6905a633200cf3c1e57a06b0dffd5)
diff --git a/src/adaptation/NfcAdaptation.cpp b/src/adaptation/NfcAdaptation.cpp
index 082fecc..6011ad6 100644
--- a/src/adaptation/NfcAdaptation.cpp
+++ b/src/adaptation/NfcAdaptation.cpp
@@ -431,13 +431,6 @@
LOG_FATAL_IF(mHal == nullptr, "Failed to retrieve the NFC HAL!");
ALOGI("%s: INfc::getService(%s) returned %p (%s)", func, nci_hal_module,
mHal.get(), (mHal->isRemote() ? "remote" : "local"));
- // TODO(b/31748996) A client must be completely unaware of the
- // implementation details of its HAL: whether the HAL is passthrough, or
- // whether it uses HWbinder or some other transport.
- if (mHal->isRemote()) {
- ProcessState::self()->setThreadPoolMaxThreadCount(1);
- ProcessState::self()->startThreadPool();
- }
ALOGD ("%s: exit", func);
}