]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ath10k: remove useless test before clk_disable_unprepare
authorYueHaibing <yuehaibing@huawei.com>
Wed, 23 May 2018 08:14:17 +0000 (11:14 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 25 May 2018 10:02:56 +0000 (13:02 +0300)
commitcf3c0ae6a32b5c3bb19b07d48dff646fc3896e51
tree7bd256b1aefcbd63b20a49c2fda9bbe33d0f1fb2
parentf1abff21acc5c21bfba472c74d76f4430d06bdd3
ath10k: remove useless test before clk_disable_unprepare

clk_disable_unprepare() already checks that the clock pointer is valid.
No need to test it before calling it.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/ahb.c