Revert "wifi: ath6k: silence false positive -Wno-dangling-pointer warning on GCC 12"
authorKalle Valo <kvalo@kernel.org>
Mon, 24 Jul 2023 10:08:23 +0000 (13:08 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:42:23 +0000 (09:42 +0200)
commit848477e08391d4604abcf428fdd6fa0aaaa20089
tree61a6851787344d106a316728406abd0d807d729f
parent51edd7383b1e039dbfcde4124e3eb53ea05e0c2d
Revert "wifi: ath6k: silence false positive -Wno-dangling-pointer warning on GCC 12"

[ Upstream commit a1ce186db7f0e449f35d12fb55ae0da2a1b400e2 ]

This reverts commit bd1d129daa3ede265a880e2c6a7f91eab0f4dc62.

The dangling-pointer warnings were disabled kernel-wide by commit 49beadbd47c2
("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>
drivers/net/wireless/ath/ath6kl/Makefile