diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2018-01-14 12:47:44 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-15 15:09:46 -0500 |
commit | 9662ec19229c89825acac1d62a9d78fb89f8dda5 (patch) | |
tree | e70392bc439e7e364300a69972613636900e4c68 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 3e14c969a4ecdb4b4a05fb5c806d4f525fe56cff (diff) |
sh_eth: get Ether port # only when needed
The dual-port Ether configurations always have a shared TSU to e.g. pass
the packets between those ports. With the TSU init. code gathered under
the single *if*, we now can only get the port # from 'platform_device::id'
only when we actually need it (and not recalculate it each time)...
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions