qcacld-3.0: Do not manually re-enable -Wmaybe-uninitialized

Change-Id: I4c76d941bdd27ef5d0967a1385e0107fbb99a91c
Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
Park Ju Hyung 2020-06-07 02:49:09 +09:00 committed by Richard Raya
parent 2fd3ec3533
commit c0dd48acea

View File

@ -3328,16 +3328,6 @@ cppflags-$(CONFIG_DUMP_REO_QUEUE_INFO_IN_DDR) += -DDUMP_REO_QUEUE_INFO_IN_DDR
KBUILD_CPPFLAGS += $(cppflags-y)
# Currently, for versions of gcc which support it, the kernel Makefile
# is disabling the maybe-uninitialized warning. Re-enable it for the
# WLAN driver. Note that we must use ccflags-y here so that it
# will override the kernel settings.
ifeq ($(call cc-option-yn, -Wmaybe-uninitialized), y)
ccflags-y += -Wmaybe-uninitialized
ifneq (y,$(CONFIG_ARCH_MSM))
ccflags-y += -Wframe-larger-than=4096
endif
endif
ccflags-y += -Wmissing-prototypes
ifeq ($(call cc-option-yn, -Wheader-guard), y)