Merge commit '09deb2e9dfd5dc4c7b326854da09a0c6033038aa'

* commit '09deb2e9dfd5dc4c7b326854da09a0c6033038aa':
  net: wireless: rockchip_wlan: bcmdhd: Remove unnecessary code to resolve gki compilation errors

Change-Id: I41121401d217432b08b4bf1285edadb0a5146a25
This commit is contained in:
Tao Huang
2024-08-23 20:02:06 +08:00
2 changed files with 0 additions and 15 deletions

View File

@@ -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);

View File

@@ -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;