From: Rodrigo Gobbi Date: Mon, 6 Oct 2025 12:15:41 +0000 (-0300) Subject: staging: rtl8723bs: Remove commented ifdef CONFIG_WAPI_SUPPORT X-Git-Tag: v6.19-rc1~62^2~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3c253cda6eefcf317cb81afadb2f49d8a2620d5;p=thirdparty%2Fkernel%2Flinux.git staging: rtl8723bs: Remove commented ifdef CONFIG_WAPI_SUPPORT Remove ifdef CONFIG_WAPI_SUPPORT comment from rtw_ieee80211 since there is no way to enable or use it. Also, there is no documentation about the purpose of that config. Signed-off-by: Rodrigo Gobbi Link: https://lore.kernel.org/r/20251006121825.8114-1-rodrigo.gobbi.7@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c b/drivers/staging/rtl8723bs/core/rtw_ieee80211.c index 53d4c113b19c8..027b2dd0a4b9b 100644 --- a/drivers/staging/rtl8723bs/core/rtw_ieee80211.c +++ b/drivers/staging/rtl8723bs/core/rtw_ieee80211.c @@ -560,7 +560,6 @@ int rtw_parse_wpa2_ie(u8 *rsn_ie, int rsn_ie_len, int *group_cipher, int *pairwi return ret; } -/* ifdef CONFIG_WAPI_SUPPORT */ int rtw_get_wapi_ie(u8 *in_ie, uint in_len, u8 *wapi_ie, u16 *wapi_len) { int len = 0; @@ -600,7 +599,6 @@ int rtw_get_wapi_ie(u8 *in_ie, uint in_len, u8 *wapi_ie, u16 *wapi_len) return len; } -/* endif */ void rtw_get_sec_ie(u8 *in_ie, uint in_len, u8 *rsn_ie, u16 *rsn_len, u8 *wpa_ie, u16 *wpa_len) {