mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-30 18:10:59 -04:00
staging: rtl8188eu: remove unused function parameter
rtw_usb_if1_init does not use its struct usb_device_id parameter. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20210328175446.28063-1-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f032e2cdf9
commit
30310e0fa5
@@ -323,8 +323,7 @@ static int rtw_resume(struct usb_interface *pusb_intf)
|
||||
*/
|
||||
|
||||
static struct adapter *rtw_usb_if1_init(struct dvobj_priv *dvobj,
|
||||
struct usb_interface *pusb_intf,
|
||||
const struct usb_device_id *pdid)
|
||||
struct usb_interface *pusb_intf)
|
||||
{
|
||||
struct adapter *padapter;
|
||||
struct net_device *pnetdev;
|
||||
@@ -463,7 +462,7 @@ static int rtw_drv_init(struct usb_interface *pusb_intf, const struct usb_device
|
||||
goto exit;
|
||||
}
|
||||
|
||||
if1 = rtw_usb_if1_init(dvobj, pusb_intf, pdid);
|
||||
if1 = rtw_usb_if1_init(dvobj, pusb_intf);
|
||||
if (!if1) {
|
||||
pr_debug("rtw_init_primarystruct adapter Failed!\n");
|
||||
goto free_dvobj;
|
||||
|
||||
Reference in New Issue
Block a user