wifi: ath12k: ath12k_mac_set_key(): remove exit label
authorKalle Valo <quic_kvalo@quicinc.com>
Mon, 7 Oct 2024 16:59:31 +0000 (19:59 +0300)
committerJeff Johnson <quic_jjohnson@quicinc.com>
Fri, 11 Oct 2024 14:21:54 +0000 (07:21 -0700)
commit37d06d71e69c16d24ccc276cb86489fd2fcd00c4
tree3975fd869564395c70083a748325e5e8325a9baf
parent31489439e6481cd0c21c8c7096d2ec44dc56b6a6
wifi: ath12k: ath12k_mac_set_key(): remove exit label

In ath12k_mac_set_key() removing the exit label was a bit more complex so do
it in a separate patch. Remove the else branch and remove now the unnecessary
ret initialisation.

No functional changes.

Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://patch.msgid.link/20241007165932.78081-6-kvalo@kernel.org
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
drivers/net/wireless/ath/ath12k/mac.c