summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>2016-09-11 22:43:34 +0300
committerDavid S. Miller <davem@davemloft.net>2016-09-13 19:04:11 +0300
commit440f895aa97f81a2bdc02993da5360a1f6da2fb5 (patch)
tree2d49e4b29f9deb2f03e6ed0d9de9244a915f2d05 /tools/perf/scripts/python/export-to-postgresql.py
parent715f5552b1e90ba3eecf6d1a6d044d0d5226663f (diff)
downloadlinux-440f895aa97f81a2bdc02993da5360a1f6da2fb5.tar.xz
drivers: net: phy: xgene: Fix 'remove' function
If 'IS_ERR(pdata->clk)' is true, then 'clk_disable_unprepare(pdata->clk)' will do nothing. It is likely that 'if (!IS_ERR(pdata->clk))' was expected here. In fact, the test can even be removed because 'clk_disable_unprepare' already handles such cases. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions