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: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: 0af54343 ("wifi: ath9k: hif_usb: clean up skbs if ath9k_hif_usb_rx_stream() fails") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment