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

staging: rtl8723bs: remove unused rf_reg_dump() function argument

remove unused function argument void *sel from rf_reg_dump.
Signed-off-by: default avatarFabio Aiuto <fabioaiuto83@gmail.com>
Link: https://lore.kernel.org/r/32d99e0a094cc59a35788c468dd3e20b486c9e20.1619254603.git.fabioaiuto83@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5d047570
...@@ -59,7 +59,7 @@ static void dump_4_rf_regs(struct adapter *adapter, int path, int offset) ...@@ -59,7 +59,7 @@ static void dump_4_rf_regs(struct adapter *adapter, int path, int offset)
i, reg[0], reg[1], reg[2], reg[3]); i, reg[0], reg[1], reg[2], reg[3]);
} }
void rf_reg_dump(void *sel, struct adapter *adapter) void rf_reg_dump(struct adapter *adapter)
{ {
int i, path; int i, path;
u8 rf_type = 0; u8 rf_type = 0;
......
...@@ -150,6 +150,6 @@ ...@@ -150,6 +150,6 @@
void mac_reg_dump(struct adapter *adapter); void mac_reg_dump(struct adapter *adapter);
void bb_reg_dump(struct adapter *adapter); void bb_reg_dump(struct adapter *adapter);
void rf_reg_dump(void *sel, struct adapter *adapter); void rf_reg_dump(struct adapter *adapter);
#endif /* __RTW_DEBUG_H__ */ #endif /* __RTW_DEBUG_H__ */
...@@ -2738,7 +2738,7 @@ static int rtw_dbg_port(struct net_device *dev, ...@@ -2738,7 +2738,7 @@ static int rtw_dbg_port(struct net_device *dev,
else if (extra_arg == 1) else if (extra_arg == 1)
bb_reg_dump(padapter); bb_reg_dump(padapter);
else if (extra_arg == 2) else if (extra_arg == 2)
rf_reg_dump(RTW_DBGDUMP, padapter); rf_reg_dump(padapter);
} }
break; break;
......
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