mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-25 11:55:37 +00:00
wifi: wilc1000: fix spurious inline in wilc_handle_disconnect()
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
This commit is contained in:
parent
baa56dfe2c
commit
f01272ee38
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue