summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath11k/mhi.h
diff options
context:
space:
mode:
authorKalle Valo <quic_kvalo@quicinc.com>2022-04-01 20:30:40 +0300
committerKalle Valo <quic_kvalo@quicinc.com>2022-04-06 11:31:40 +0300
commit121210ec935c47b076709974d95360f5e9c9b869 (patch)
treea8d8c0dcdfb5f759bb09e682c7904ca3eb0f5db1 /drivers/net/wireless/ath/ath11k/mhi.h
parent633469e3bac10650ecff421ba6b9603d67da884b (diff)
downloadlinux-121210ec935c47b076709974d95360f5e9c9b869.tar.xz
ath11k: mhi: remove state machine
State machines are difficult to understand and in this case it's just useless, which is shown by the diffstat. So remove it entirely to make the code simpler. No functional changes. Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03003-QCAHSPSWPL_V1_V2_SILICONZ_LITE-2 Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com> Link: https://lore.kernel.org/r/20220401173042.17467-2-kvalo@kernel.org
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/mhi.h')
-rw-r--r--drivers/net/wireless/ath/ath11k/mhi.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/net/wireless/ath/ath11k/mhi.h b/drivers/net/wireless/ath/ath11k/mhi.h
index 488dada5d31c..5dd024f879c4 100644
--- a/drivers/net/wireless/ath/ath11k/mhi.h
+++ b/drivers/net/wireless/ath/ath11k/mhi.h
@@ -16,19 +16,6 @@
#define MHICTRL 0x38
#define MHICTRL_RESET_MASK 0x2
-enum ath11k_mhi_state {
- ATH11K_MHI_INIT,
- ATH11K_MHI_DEINIT,
- ATH11K_MHI_POWER_ON,
- ATH11K_MHI_POWER_OFF,
- ATH11K_MHI_FORCE_POWER_OFF,
- ATH11K_MHI_SUSPEND,
- ATH11K_MHI_RESUME,
- ATH11K_MHI_TRIGGER_RDDM,
- ATH11K_MHI_RDDM,
- ATH11K_MHI_RDDM_DONE,
-};
-
int ath11k_mhi_start(struct ath11k_pci *ar_pci);
void ath11k_mhi_stop(struct ath11k_pci *ar_pci);
int ath11k_mhi_register(struct ath11k_pci *ar_pci);