Remove obsolete workaround.

The issue we were working around was fixed upstream by
https://w1.fi/cgit/hostap/commit/?id=85f3ab758ee2357f695f4880d05e48c1236a4cea
so we can remove the workaround now.

Bug: http://b/72326431
Test: treehugger
Change-Id: Id30d6d3655749939c62f900942122d4f7ad424c4
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index f2b15d3..435c88d 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -26,9 +26,6 @@
 
 L_CFLAGS += -Wall -Werror
 
-# TODO: move off readdir_r upstream, pull fix back (http://b/72326431).
-L_CFLAGS += -Wno-error-deprecated-declarations
-
 # Disable unused parameter warnings
 L_CFLAGS += -Wno-unused-parameter
 
diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk
index 8631775..6202416 100644
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -41,9 +41,6 @@
 # Disable sign compare warnings
 L_CFLAGS += -Wno-sign-compare
 
-# TODO: move off readdir_r upstream, pull fix back (http://b/72326431).
-L_CFLAGS += -Wno-error-deprecated-declarations
-
 # Disable unused function warnings
 L_CFLAGS += -Wno-unused-function