]> git.baikalelectronics.ru Git - kernel.git/commit
bcm63xx_enet: drop unneeded NULL phy_clk check
authorJonas Gorski <jonas.gorski@gmail.com>
Sun, 1 Oct 2017 11:02:19 +0000 (13:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Oct 2017 06:05:11 +0000 (23:05 -0700)
commitdf85893af93f8f3756fa81cea408feef21471586
treef34f6e6a8f2cacab01f6fcb978c11277ea268ec5
parent29453694cb97b4beb9dbddff72ad891a57a7fe09
bcm63xx_enet: drop unneeded NULL phy_clk check

clk_disable and clk_unprepare are NULL-safe, so need to duplicate the
NULL check of the functions.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcm63xx_enet.c