]> git.baikalelectronics.ru Git - kernel.git/commitdiff
wifi: wilc1000: fix spurious inline in wilc_handle_disconnect()
authorKalle Valo <kvalo@kernel.org>
Mon, 1 Aug 2022 11:04:40 +0000 (14:04 +0300)
committerKalle Valo <kvalo@kernel.org>
Mon, 8 Aug 2022 08:11:04 +0000 (11:11 +0300)
Sparse warns:

drivers/net/wireless/microchip/wilc1000/hif.h:218:35: error: marked inline, but without a definition

Remove the inline, it's not needed.

Reported-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Acked-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220801110440.13144-1-kvalo@kernel.org
drivers/net/wireless/microchip/wilc1000/hif.c
drivers/net/wireless/microchip/wilc1000/hif.h

index b89519ab92052b2e53a95fb5a4d91c304f8e3211..eb1d1ba3a443ada429f345ce76f3f4bea475c717 100644 (file)
@@ -635,7 +635,7 @@ static inline void host_int_parse_assoc_resp_info(struct wilc_vif *vif,
        conn_info->req_ies_len = 0;
 }
 
-inline void wilc_handle_disconnect(struct wilc_vif *vif)
+void wilc_handle_disconnect(struct wilc_vif *vif)
 {
        struct host_if_drv *hif_drv = vif->hif_drv;
 
index 69ba1d469e9f0028e6604ec332182740d9922b9f..baa2881f4465dbd7f5969fa44247d89c623c1d7e 100644 (file)
@@ -215,5 +215,6 @@ void wilc_gnrl_async_info_received(struct wilc *wilc, u8 *buffer, u32 length);
 void *wilc_parse_join_bss_param(struct cfg80211_bss *bss,
                                struct cfg80211_crypto_settings *crypto);
 int wilc_set_default_mgmt_key_index(struct wilc_vif *vif, u8 index);
-inline void wilc_handle_disconnect(struct wilc_vif *vif);
+void wilc_handle_disconnect(struct wilc_vif *vif);
+
 #endif