diff options
author | Andrew Lunn <[email protected]> | 2016-06-04 21:17:01 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-06-04 14:29:53 -0700 |
commit | 9b8e895c4e9d217dfa0e48aafa072258e2a3480e (patch) | |
tree | 4f64692e9a032093e5024c5f65c94e427afd9d03 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 66472fc04e8be62858f29c7798ed17e984c1ab3b (diff) |
net: dsa: Split up creating/destroying of DSA and CPU ports
Refactor the code to setup a single DSA/CPU port into a function of
its own, and export it, so it can be used by the new binding.
Similarly, refactor the destroy code into a function. When destroying
the ports, don't put the of node. They should be released at the end
along with the normal ports.
Signed-off-by: Andrew Lunn <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Reviewed-by: Vivien Didelot <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions