diff options
author | Sergei Shtylyov <[email protected]> | 2018-01-14 20:47:44 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-01-15 15:09:46 -0500 |
commit | 9662ec19229c89825acac1d62a9d78fb89f8dda5 (patch) | |
tree | e70392bc439e7e364300a69972613636900e4c68 /scripts/gdb/linux/proc.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 <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions