summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-09-02 14:56:31 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-03 01:40:18 +0300
commiteb0f3bc463d59d86402f19c59aa44e82dc3fab6d (patch)
tree3c53f95691ab09dfee0bb8d071b9ecb9c66dbe13 /tools/perf/scripts/python/export-to-postgresql.py
parent1996cf46e4673a25ef2478eb266714f409a98221 (diff)
downloadlinux-eb0f3bc463d59d86402f19c59aa44e82dc3fab6d.tar.xz
net: gemini: Fix another missing clk_disable_unprepare() in probe
We recently added some calls to clk_disable_unprepare() but we missed the last error path if register_netdev() fails. I made a couple cleanups so we avoid mistakes like this in the future. First I reversed the "if (!ret)" condition and pulled the code in one indent level. Also, the "port->netdev = NULL;" is not required because "port" isn't used again outside this function so I deleted that line. Fixes: 4d5ae32f5e1e ("net: ethernet: Add a driver for Gemini gigabit ethernet") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> 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