mirror of
https://github.com/amazingfate/rtl8723ds.git
synced 2026-06-18 18:29:01 +01:00
rtl8723ds: Remove CONFIG_PCI_HCI and associated dead code
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
@@ -9238,18 +9238,12 @@ static int rtw_mp_efuse_get(struct net_device *dev,
|
||||
#ifdef CONFIG_USB_HCI
|
||||
addr = EEPROM_VID_88EU;
|
||||
#endif
|
||||
#ifdef CONFIG_PCI_HCI
|
||||
addr = EEPROM_VID_88EE;
|
||||
#endif
|
||||
#endif /* CONFIG_RTL8188E */
|
||||
|
||||
#ifdef CONFIG_RTL8192E
|
||||
#ifdef CONFIG_USB_HCI
|
||||
addr = EEPROM_VID_8192EU;
|
||||
#endif
|
||||
#ifdef CONFIG_PCI_HCI
|
||||
addr = EEPROM_VID_8192EE;
|
||||
#endif
|
||||
#endif /* CONFIG_RTL8192E */
|
||||
#ifdef CONFIG_RTL8723B
|
||||
addr = EEPROM_VID_8723BU;
|
||||
@@ -9847,18 +9841,12 @@ static int rtw_mp_efuse_set(struct net_device *dev,
|
||||
#ifdef CONFIG_USB_HCI
|
||||
addr = EEPROM_VID_88EU;
|
||||
#endif
|
||||
#ifdef CONFIG_PCI_HCI
|
||||
addr = EEPROM_VID_88EE;
|
||||
#endif
|
||||
#endif /* CONFIG_RTL8188E */
|
||||
|
||||
#ifdef CONFIG_RTL8192E
|
||||
#ifdef CONFIG_USB_HCI
|
||||
addr = EEPROM_VID_8192EU;
|
||||
#endif
|
||||
#ifdef CONFIG_PCI_HCI
|
||||
addr = EEPROM_VID_8192EE;
|
||||
#endif
|
||||
#endif /* CONFIG_RTL8188E */
|
||||
|
||||
#ifdef CONFIG_RTL8723B
|
||||
@@ -12012,16 +12000,6 @@ static struct xmit_frame *createloopbackpkt(PADAPTER padapter, u32 size)
|
||||
desc->txdw5 = cpu_to_le32(desc->txdw5);
|
||||
desc->txdw6 = cpu_to_le32(desc->txdw6);
|
||||
desc->txdw7 = cpu_to_le32(desc->txdw7);
|
||||
#ifdef CONFIG_PCI_HCI
|
||||
desc->txdw8 = cpu_to_le32(desc->txdw8);
|
||||
desc->txdw9 = cpu_to_le32(desc->txdw9);
|
||||
desc->txdw10 = cpu_to_le32(desc->txdw10);
|
||||
desc->txdw11 = cpu_to_le32(desc->txdw11);
|
||||
desc->txdw12 = cpu_to_le32(desc->txdw12);
|
||||
desc->txdw13 = cpu_to_le32(desc->txdw13);
|
||||
desc->txdw14 = cpu_to_le32(desc->txdw14);
|
||||
desc->txdw15 = cpu_to_le32(desc->txdw15);
|
||||
#endif
|
||||
|
||||
cal_txdesc_chksum(desc);
|
||||
|
||||
|
||||
@@ -1333,12 +1333,6 @@ int rtw_os_ndev_alloc(_adapter *adapter)
|
||||
SET_NETDEV_DEV(ndev, dvobj_to_dev(adapter_to_dvobj(adapter)));
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PCI_HCI
|
||||
if (adapter_to_dvobj(adapter)->bdma64)
|
||||
ndev->features |= NETIF_F_HIGHDMA;
|
||||
ndev->irq = adapter_to_dvobj(adapter)->irq;
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_IOCTL_CFG80211)
|
||||
if (rtw_cfg80211_ndev_res_alloc(adapter) != _SUCCESS) {
|
||||
rtw_warn_on(1);
|
||||
@@ -1775,9 +1769,6 @@ struct dvobj_priv *devobj_init(void)
|
||||
rtw_macid_ctl_init(&pdvobj->macid_ctl);
|
||||
_rtw_spinlock_init(&pdvobj->cam_ctl.lock);
|
||||
_rtw_mutex_init(&pdvobj->cam_ctl.sec_cam_access_mutex);
|
||||
#if defined(RTK_129X_PLATFORM) && defined(CONFIG_PCI_HCI)
|
||||
_rtw_spinlock_init(&pdvobj->io_reg_lock);
|
||||
#endif
|
||||
#ifdef CONFIG_MBSSID_CAM
|
||||
rtw_mbid_cam_init(pdvobj);
|
||||
#endif
|
||||
@@ -1835,9 +1826,6 @@ void devobj_deinit(struct dvobj_priv *pdvobj)
|
||||
_rtw_spinlock_free(&pdvobj->cam_ctl.lock);
|
||||
_rtw_mutex_free(&pdvobj->cam_ctl.sec_cam_access_mutex);
|
||||
|
||||
#if defined(RTK_129X_PLATFORM) && defined(CONFIG_PCI_HCI)
|
||||
_rtw_spinlock_free(&pdvobj->io_reg_lock);
|
||||
#endif
|
||||
#ifdef CONFIG_MBSSID_CAM
|
||||
rtw_mbid_cam_deinit(pdvobj);
|
||||
#endif
|
||||
|
||||
@@ -2213,11 +2213,6 @@ const struct rtw_proc_hdl adapter_proc_hdls[] = {
|
||||
RTW_PROC_HDL_SSEQ("int_logs", proc_get_int_logs, NULL),
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PCI_HCI
|
||||
RTW_PROC_HDL_SSEQ("rx_ring", proc_get_rx_ring, NULL),
|
||||
RTW_PROC_HDL_SSEQ("tx_ring", proc_get_tx_ring, NULL),
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_WOWLAN
|
||||
RTW_PROC_HDL_SSEQ("wow_pattern_info", proc_get_pattern_info, proc_set_pattern_info),
|
||||
RTW_PROC_HDL_SSEQ("wowlan_last_wake_reason", proc_get_wakeup_reason, NULL),
|
||||
|
||||
Reference in New Issue
Block a user