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)
commit4e78e5c5d881bf2d6267545a554c1baf245257b7
treef34f6e6a8f2cacab01f6fcb978c11277ea268ec5
parent7e697ce99ceb09538cdc1dfa9ebb3db60236b0a7
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