Commit 5d047570 authored by Fabio Aiuto's avatar Fabio Aiuto Committed by Greg Kroah-Hartman

staging: rtl8723bs: remove unused bb_reg_dump() function argument

remove unused function argument void *sel from bb_reg_dump.
Signed-off-by: default avatarFabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/62bfb844bc77818ca0595b369e64eca3b8872470.1619254603.git.fabioaiuto83@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a8ce8f9f
......@@ -36,7 +36,7 @@ void mac_reg_dump(struct adapter *adapter)
dump_4_regs(adapter, i);
}
void bb_reg_dump(void *sel, struct adapter *adapter)
void bb_reg_dump(struct adapter *adapter)
{
int i;
......
......@@ -149,7 +149,7 @@
#endif /* defined(_dbgdump) */
void mac_reg_dump(struct adapter *adapter);
void bb_reg_dump(void *sel, struct adapter *adapter);
void bb_reg_dump(struct adapter *adapter);
void rf_reg_dump(void *sel, struct adapter *adapter);
#endif /* __RTW_DEBUG_H__ */
......@@ -2736,7 +2736,7 @@ static int rtw_dbg_port(struct net_device *dev,
if (extra_arg == 0)
mac_reg_dump(padapter);
else if (extra_arg == 1)
bb_reg_dump(RTW_DBGDUMP, padapter);
bb_reg_dump(padapter);
else if (extra_arg == 2)
rf_reg_dump(RTW_DBGDUMP, padapter);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment