Merge "Revert "Use -Werror in hardware/broadcom/wlan/bcmdhd""
am: b655905499

Change-Id: Ib01d3f262d79c15c6a3662e60e9c3610fe2cdd85
diff --git a/bcmdhd/dhdutil/Android.mk b/bcmdhd/dhdutil/Android.mk
index c3a5614..4294413 100644
--- a/bcmdhd/dhdutil/Android.mk
+++ b/bcmdhd/dhdutil/Android.mk
@@ -30,7 +30,6 @@
 ifeq ($(TARGET_ARCH),arm)
 LOCAL_CFLAGS += -mabi=aapcs-linux
 endif
-LOCAL_CFLAGS += -Wall -Werror -Wno-unused-parameter
 LOCAL_C_INCLUDES +=$(LOCAL_PATH)/include
 
 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
diff --git a/bcmdhd/wifi_hal/Android.mk b/bcmdhd/wifi_hal/Android.mk
index 2db5f17..9e4ed08 100644
--- a/bcmdhd/wifi_hal/Android.mk
+++ b/bcmdhd/wifi_hal/Android.mk
@@ -18,14 +18,7 @@
 # ============================================================
 include $(CLEAR_VARS)
 
-LOCAL_CFLAGS := \
-    -Wall \
-    -Werror \
-    -Wno-reorder \
-    -Wno-unused-function \
-    -Wno-unused-parameter \
-    -Wno-unused-private-field \
-    -Wno-unused-variable \
+LOCAL_CFLAGS := -Wno-unused-parameter
 
 LOCAL_C_INCLUDES += \
 	external/libnl/include \
diff --git a/bcmdhd/wpa_supplicant_8_lib/Android.mk b/bcmdhd/wpa_supplicant_8_lib/Android.mk
index db350cf..c1d3c34 100644
--- a/bcmdhd/wpa_supplicant_8_lib/Android.mk
+++ b/bcmdhd/wpa_supplicant_8_lib/Android.mk
@@ -60,8 +60,6 @@
 L_CFLAGS += -DBCMDHD_64_BIT_IPC
 endif
 
-L_CFLAGS += -Wall -Werror -Wno-unused-parameter -Wno-macro-redefined
-
 ########################
 
 include $(CLEAR_VARS)