]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: hif_usb: simplify if-if to if-else
authorWan Jiabing <wanjiabing@vivo.com>
Wed, 27 Apr 2022 07:37:32 +0000 (10:37 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Mar 2023 15:43:38 +0000 (16:43 +0100)
commitbd1831e0b51dd07474c45a2ed51a1b08903a2edc
tree85c184aadfee29b403df7a70826bbb6885b0c5cc
parent6afeff5d8fcadbaa4840749359d9625aa442593d
ath9k: hif_usb: simplify if-if to if-else

[ Upstream commit afa2dfc3d06bdf1d8e9964daa295a94ab0c2412e ]

Use if and else instead of if(A) and if (!A).

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220424094441.104937-1-wanjiabing@vivo.com
Stable-dep-of: 0af54343a762 ("wifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/ath/ath9k/hif_usb.c