diff options
author | Vihas Makwana <makvihas@gmail.com> | 2022-02-13 23:04:26 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-15 17:12:37 +0100 |
commit | 3027d37d93a7d55d47ef39887d5af5469617c894 (patch) | |
tree | 756be6bf7626a8bac36a5aaedc7c10331553627b /drivers/staging/r8188eu/include/sta_info.h | |
parent | 56f1124a94699e18fde9421cfabed2312e7fc28e (diff) | |
download | linux-3027d37d93a7d55d47ef39887d5af5469617c894.tar.bz2 |
staging: r8188eu: mark _rtw_free_sta_priv as void
_rtw_free_sta_priv() always returns _SUCCESS and it's return value
isn't checked either.
So it makes sense to mark it as void instead of u32.
Signed-off-by: Vihas Makwana <makvihas@gmail.com>
Link: https://lore.kernel.org/r/20220213173424.39935-1-makvihas@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/include/sta_info.h')
-rw-r--r-- | drivers/staging/r8188eu/include/sta_info.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/r8188eu/include/sta_info.h b/drivers/staging/r8188eu/include/sta_info.h index 24b1254310b2..23f6a85bf017 100644 --- a/drivers/staging/r8188eu/include/sta_info.h +++ b/drivers/staging/r8188eu/include/sta_info.h @@ -344,7 +344,7 @@ static inline u32 wifi_mac_hash(u8 *mac) } extern u32 _rtw_init_sta_priv(struct sta_priv *pstapriv); -extern u32 _rtw_free_sta_priv(struct sta_priv *pstapriv); +extern void _rtw_free_sta_priv(struct sta_priv *pstapriv); #define stainfo_offset_valid(offset) (offset < NUM_STA && offset >= 0) int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta); |