diff options
author | Phillip Potter <[email protected]> | 2021-06-15 01:15:05 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-06-15 13:56:12 +0200 |
commit | cfdff814cdbd9f3c620faf11f18d171ede16978f (patch) | |
tree | d0acc424b073e333e2eaf19b0933cbcf6068aa91 | |
parent | 7e5bcf11e329d526fba77cb797ebb210987ae6c5 (diff) |
staging: rtl8188eu: remove converted netdev_dbg calls from core/rtw_sta_mgt.c
Remove all previously converted netdev_dbg calls from core/rtw_sta_mgt.c,
as these were originally DBG_88E macro calls, and therefore of dubious
necessity to begin with.
Signed-off-by: Phillip Potter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/staging/rtl8188eu/core/rtw_sta_mgt.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c b/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c index 16bbba6247f4..cd48e6f2a6f6 100644 --- a/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c +++ b/drivers/staging/rtl8188eu/core/rtw_sta_mgt.c @@ -113,21 +113,12 @@ u32 _rtw_init_sta_priv(struct sta_priv *pstapriv) inline int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta) { int offset = (((u8 *)sta) - stapriv->pstainfo_buf) / sizeof(struct sta_info); - struct net_device *pnetdev = stapriv->padapter->pnetdev; - - if (!stainfo_offset_valid(offset)) - netdev_dbg(pnetdev, "invalid offset(%d), out of range!!!\n", offset); return offset; } inline struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int offset) { - struct net_device *pnetdev = stapriv->padapter->pnetdev; - - if (!stainfo_offset_valid(offset)) - netdev_dbg(pnetdev, "invalid offset(%d), out of range!!!\n", offset); - return (struct sta_info *)(stapriv->pstainfo_buf + offset * sizeof(struct sta_info)); } |