summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>2017-01-19 19:58:23 +0300
committerDavid S. Miller <davem@davemloft.net>2017-01-20 20:35:09 +0300
commitaafc93a3b6b033a698b528b39fa99fae9fc5299f (patch)
treeda2060770a1fc2d4e412544cad378da9b6f29471 /tools/perf/scripts/python
parente9f3a685a2b7685a730d990b4e87248b513907a0 (diff)
downloadlinux-aafc93a3b6b033a698b528b39fa99fae9fc5299f.tar.xz
net: ethernet: ti: cpsw: remove dual check from common res usage function
Common res usage is possible only in case an interface is running. In case of not dual emac here can be only one interface, so while ndo_open and switch mode, only one interface can be opened, thus if open is called no any interface is running ... and no common res are used. So remove check on dual emac, it will simplify code/understanding and will match the name it's called. Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions