rtl8188eu: Remove RTW_DVOBJ_CHIP_HW_TYPE - not defined

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2013-07-21 18:28:16 -05:00
parent e93cc6a163
commit f1ac5a45a0
2 changed files with 0 additions and 9 deletions

View file

@ -219,9 +219,6 @@ struct dvobj_priv
static struct device *dvobj_to_dev(struct dvobj_priv *dvobj) static struct device *dvobj_to_dev(struct dvobj_priv *dvobj)
{ {
/* todo: get interface type from dvobj and the return the dev accordingly */ /* todo: get interface type from dvobj and the return the dev accordingly */
#ifdef RTW_DVOBJ_CHIP_HW_TYPE
#endif
return &dvobj->pusbintf->dev; return &dvobj->pusbintf->dev;
} }

View file

@ -996,11 +996,9 @@ static _adapter *rtw_usb_if1_init(struct dvobj_priv *dvobj,
padapter->hw_init_mutex = &usb_drv->hw_init_mutex; 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 //step 1-1., decide the chip_type via vid/pid
padapter->interface_type = RTW_USB; padapter->interface_type = RTW_USB;
decide_chip_type_by_usb_device_id(padapter, pdid); decide_chip_type_by_usb_device_id(padapter, pdid);
#endif
if (rtw_handle_dualmac(padapter, 1) != _SUCCESS) if (rtw_handle_dualmac(padapter, 1) != _SUCCESS)
goto free_adapter; goto free_adapter;
@ -1315,10 +1313,6 @@ static int rtw_drv_init(struct usb_interface *pusb_intf, const struct usb_device
goto exit; 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) { if ((if1 = rtw_usb_if1_init(dvobj, pusb_intf, pdid)) == NULL) {
DBG_88E("rtw_init_primary_adapter Failed!\n"); DBG_88E("rtw_init_primary_adapter Failed!\n");
goto free_dvobj; goto free_dvobj;