Skip to content
Commit 93120eba authored by YueHaibing's avatar YueHaibing Committed by David S. Miller
Browse files

net: stmmac: 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: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9e6881d3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment