]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
wpa_supplicant: Remove redundant CONFIG_WNM in wnm_sta.c
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Tue, 12 Dec 2023 17:02:49 +0000 (19:02 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 16 Dec 2023 16:00:13 +0000 (18:00 +0200)
The entire file is compiled only under CONFIG_WNM, remove it.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
wpa_supplicant/wnm_sta.c

index ccfc34d20ba269902915e2193e534d0b7beb5a93..58c6bb45acfb1d24b4d9f7ca5c1d008e0f6fdffa 100644 (file)
@@ -2036,8 +2036,6 @@ void wnm_set_coloc_intf_elems(struct wpa_supplicant *wpa_s,
 
 void wnm_clear_coloc_intf_reporting(struct wpa_supplicant *wpa_s)
 {
-#ifdef CONFIG_WNM
        wpa_s->coloc_intf_dialog_token = 0;
        wpa_s->coloc_intf_auto_report = 0;
-#endif /* CONFIG_WNM */
 }