mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-14 15:54:15 +08:00
staging: rtl8188eu: remove unused function parameter
The loadparam function does not need a struct net_device. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20210605165858.3175-9-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
56b02ba0d2
commit
f0516d2e88
@ -136,7 +136,7 @@ MODULE_PARM_DESC(monitor_enable, "Enable monitor interface (default: false)");
|
||||
|
||||
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;
|
||||
|
||||
@ -315,7 +315,7 @@ struct net_device *rtw_init_netdev(void)
|
||||
pnetdev->watchdog_timeo = HZ * 3; /* 3 second timeout */
|
||||
pnetdev->wireless_handlers = (struct iw_handler_def *)&rtw_handlers_def;
|
||||
|
||||
loadparam(padapter, pnetdev);
|
||||
loadparam(padapter);
|
||||
padapter->cmdThread = NULL;
|
||||
|
||||
return pnetdev;
|
||||
|
Loading…
Reference in New Issue
Block a user