Revert "wifi: ath6k: silence false positive -Wno-dangling-pointer warning on GCC 12"
[ Upstream commit a1ce186db7f0e449f35d12fb55ae0da2a1b400e2 ] This reverts commitbd1d129daa. The dangling-pointer warnings were disabled kernel-wide by commit49beadbd47("gcc-12: disable '-Wdangling-pointer' warning for now") for v5.19. So this hack in ath6kl is not needed anymore. Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230724100823.2948804-1-kvalo@kernel.org Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
51edd7383b
commit
848477e083
1 changed files with 0 additions and 5 deletions
|
|
@ -36,11 +36,6 @@ ath6kl_core-y += wmi.o
|
|||
ath6kl_core-y += core.o
|
||||
ath6kl_core-y += recovery.o
|
||||
|
||||
# FIXME: temporarily silence -Wdangling-pointer on non W=1+ builds
|
||||
ifndef KBUILD_EXTRA_WARN
|
||||
CFLAGS_htc_mbox.o += $(call cc-disable-warning, dangling-pointer)
|
||||
endif
|
||||
|
||||
ath6kl_core-$(CONFIG_NL80211_TESTMODE) += testmode.o
|
||||
ath6kl_core-$(CONFIG_ATH6KL_TRACING) += trace.o
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue