mirror of
https://github.com/torvalds/linux.git
synced 2026-09-29 12:24:02 +02:00
staging: rtl8723bs: Remove unused parameter pnetdev
Remove unused parameter pnetdev from the function loadparam. This function is called once and the argument is adjusted as well. Signed-off-by: Dalvin-Ehinoma Noah Aiguobas <fliegbert2@gmail.com> Link: https://patch.msgid.link/20260712215617.35003-1-fliegbert2@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4d239034ab
commit
3536a7affc
|
|
@ -175,7 +175,7 @@ MODULE_PARM_DESC(rtw_tx_pwr_by_rate, "0:Disable, 1:Enable, 2: Depend on efuse");
|
|||
|
||||
static int netdev_close(struct net_device *pnetdev);
|
||||
|
||||
static void loadparam(struct adapter *padapter, struct net_device *pnetdev)
|
||||
static void loadparam(struct adapter *padapter)
|
||||
{
|
||||
struct registry_priv *registry_par = &padapter->registrypriv;
|
||||
|
||||
|
|
@ -439,7 +439,7 @@ struct net_device *rtw_init_netdev(struct adapter *old_padapter)
|
|||
pnetdev->watchdog_timeo = HZ * 3; /* 3 second timeout */
|
||||
|
||||
/* step 2. */
|
||||
loadparam(padapter, pnetdev);
|
||||
loadparam(padapter);
|
||||
|
||||
return pnetdev;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user