]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: mhi: remove unnecessary goto from ath11k_mhi_start()
authorKalle Valo <quic_kvalo@quicinc.com>
Tue, 5 Apr 2022 08:26:44 +0000 (11:26 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 6 Apr 2022 08:32:04 +0000 (11:32 +0300)
commite5edf560e33237d045700533353b9a5151c21827
tree11bdc94d373f8b913dd1ddc10f0f7dd30d4c65a2
parent2cad0ef76ea78986963fff5359028338ed86c7f7
ath11k: mhi: remove unnecessary goto from ath11k_mhi_start()

No need to have goto for a return statement, so simplify the code. While at it,
print warning messages if power up calls fail.

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-4-kvalo@kernel.org
drivers/net/wireless/ath/ath11k/mhi.c