summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2016-10-20 10:28:27 +0200
committerDavid S. Miller <davem@davemloft.net>2016-10-20 20:20:08 +0200
commit01e5943ac16b1529821cceea36e929f7ea51c854 (patch)
treed7372b759c02b3b1c9a724f5e78bc16164d94c99 /drivers/net/phy
parenttcp: relax listening_hash operations (diff)
downloadlinux-01e5943ac16b1529821cceea36e929f7ea51c854.tar.xz
linux-01e5943ac16b1529821cceea36e929f7ea51c854.zip
net: fec: drop check for clk==NULL before calling clk_*
clk_prepare, clk_enable and their counterparts (at least the common clk ones, but also most others) do check for the clk being NULL anyhow (and return 0 then), so there is no gain when the caller checks, too. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Fugang Duan <fugang.duan@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
0 files changed, 0 insertions, 0 deletions