Re: [PATCH net-next] ath10k: Remove useless test before clk_disable_unprepare

2018-05-16 Thread YueHaibing
On 2018/5/16 19:42, Kalle Valo wrote: > YueHaibing writes: > >> clk_disable_unprepare() already checks that the clock pointer is valid. >> No need to test it before calling it. >> >> Signed-off-by: YueHaibing > > Just a note that ath10k patches are

Re: [PATCH net-next] ath10k: Remove useless test before clk_disable_unprepare

2018-05-16 Thread Kalle Valo
YueHaibing writes: > clk_disable_unprepare() already checks that the clock pointer is valid. > No need to test it before calling it. > > Signed-off-by: YueHaibing Just a note that ath10k patches are applied to my ath.git tree, not to net-next. So

[PATCH net-next] ath10k: Remove useless test before clk_disable_unprepare

2018-05-16 Thread YueHaibing
clk_disable_unprepare() already checks that the clock pointer is valid. No need to test it before calling it. Signed-off-by: YueHaibing --- drivers/net/wireless/ath/ath10k/ahb.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git