mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-25 14:03:40 +00:00
rtl8188eu: Remove RTW_DVOBJ_CHIP_HW_TYPE - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
e93cc6a163
commit
f1ac5a45a0
2 changed files with 0 additions and 9 deletions
|
@ -219,9 +219,6 @@ struct dvobj_priv
|
|||
static struct device *dvobj_to_dev(struct dvobj_priv *dvobj)
|
||||
{
|
||||
/* todo: get interface type from dvobj and the return the dev accordingly */
|
||||
#ifdef RTW_DVOBJ_CHIP_HW_TYPE
|
||||
#endif
|
||||
|
||||
return &dvobj->pusbintf->dev;
|
||||
}
|
||||
|
||||
|
|
|
@ -996,11 +996,9 @@ static _adapter *rtw_usb_if1_init(struct dvobj_priv *dvobj,
|
|||
|
||||
padapter->hw_init_mutex = &usb_drv->hw_init_mutex;
|
||||
|
||||
#ifndef RTW_DVOBJ_CHIP_HW_TYPE
|
||||
//step 1-1., decide the chip_type via vid/pid
|
||||
padapter->interface_type = RTW_USB;
|
||||
decide_chip_type_by_usb_device_id(padapter, pdid);
|
||||
#endif
|
||||
|
||||
if (rtw_handle_dualmac(padapter, 1) != _SUCCESS)
|
||||
goto free_adapter;
|
||||
|
@ -1315,10 +1313,6 @@ static int rtw_drv_init(struct usb_interface *pusb_intf, const struct usb_device
|
|||
goto exit;
|
||||
}
|
||||
|
||||
#ifdef RTW_DVOBJ_CHIP_HW_TYPE
|
||||
decide_chip_type_by_usb_device_id(dvobj, pdid);
|
||||
#endif
|
||||
|
||||
if ((if1 = rtw_usb_if1_init(dvobj, pusb_intf, pdid)) == NULL) {
|
||||
DBG_88E("rtw_init_primary_adapter Failed!\n");
|
||||
goto free_dvobj;
|
||||
|
|
Loading…
Reference in a new issue