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

2018-05-16 Thread David Miller
From: YueHaibing Date: Wed, 16 May 2018 18:59:19 +0800 > clk_disable_unprepare() already checks that the clock pointer is valid. > No need to test it before calling it. > > Signed-off-by: YueHaibing Applied.

[PATCH net-next] net: stmmac: 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/ethernet/stmicro/stmmac/dwmac-rk.c | 24 +++- 1 file changed, 7 insertions(+), 17 deletions(-) diff