mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
net: wireless: rockchip_wlan: bcmdhd: Remove unnecessary code to resolve gki compilation errors
Change-Id: I16b6fa727946d64fbf90ee2acdebd9744748da32 Signed-off-by: Alex Zhao <zzc@rock-chips.com>
This commit is contained in:
@@ -810,11 +810,6 @@ extern void dhd_bus_doorbell_timeout_reset(struct dhd_bus *bus);
|
||||
#define DHD_PCIE_DMA_MASK_FOR_GS101 36
|
||||
#endif /* DHD_SET_PCIE_DMA_MASK_FOR_GS101 */
|
||||
|
||||
#ifdef CONFIG_ARCH_TEGRA
|
||||
extern int tegra_pcie_pm_suspend(void);
|
||||
extern int tegra_pcie_pm_resume(void);
|
||||
#endif /* CONFIG_ARCH_TEGRA */
|
||||
|
||||
extern int dhd_buzzz_dump_dngl(dhd_bus_t *bus);
|
||||
#ifdef IDLE_TX_FLOW_MGMT
|
||||
extern int dhd_bus_flow_ring_resume_request(struct dhd_bus *bus, void *arg);
|
||||
|
||||
@@ -2403,11 +2403,6 @@ dhdpcie_start_host_dev(dhd_bus_t *bus)
|
||||
ret = msm_pcie_pm_control(MSM_PCIE_RESUME, bus->dev->bus->number,
|
||||
bus->dev, NULL, 0);
|
||||
#endif /* CONFIG_ARCH_MSM */
|
||||
#ifdef CONFIG_ARCH_TEGRA
|
||||
#ifndef CONFIG_ARCH_TEGRA_210_SOC
|
||||
ret = tegra_pcie_pm_resume();
|
||||
#endif /* CONFIG_ARCH_TEGRA_210_SOC */
|
||||
#endif /* CONFIG_ARCH_TEGRA */
|
||||
#ifdef CONFIG_ARCH_ROCKCHIP
|
||||
if (bus->rc_dev)
|
||||
ret = rockchip_dw_pcie_pm_ctrl_for_user(bus->rc_dev, ROCKCHIP_PCIE_PM_CTRL_RESET);
|
||||
@@ -2446,11 +2441,6 @@ dhdpcie_stop_host_dev(dhd_bus_t *bus)
|
||||
ret = msm_pcie_pm_control(MSM_PCIE_SUSPEND, bus->dev->bus->number,
|
||||
bus->dev, NULL, 0);
|
||||
#endif /* CONFIG_ARCH_MSM */
|
||||
#ifdef CONFIG_ARCH_TEGRA
|
||||
#ifndef CONFIG_ARCH_TEGRA_210_SOC
|
||||
ret = tegra_pcie_pm_suspend();
|
||||
#endif /* CONFIG_ARCH_TEGRA_210_SOC */
|
||||
#endif /* CONFIG_ARCH_TEGRA */
|
||||
if (ret) {
|
||||
DHD_ERROR(("Failed to stop PCIe link\n"));
|
||||
goto done;
|
||||
|
||||
Reference in New Issue
Block a user