Commit afdf9da2 authored by Wan Jiabing's avatar Wan Jiabing Committed by sanglipeng
Browse files

ath9k: hif_usb: simplify if-if to if-else

stable inclusion
from stable-v5.10.173
commit 221f9bd5ec56933c3e1ee07ff941804296ad5560
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8BFR3

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=221f9bd5ec56933c3e1ee07ff941804296ad5560



--------------------------------

[ Upstream commit 2950833f ]

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

Signed-off-by: default avatarWan Jiabing <wanjiabing@vivo.com>
Acked-by: default avatarToke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: default avatarKalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220424094441.104937-1-wanjiabing@vivo.com


Stable-dep-of: 0af54343 ("wifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 8698de5d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment