aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2019-11-05 13:26:11 -0800
committerDavid S. Miller <[email protected]>2019-11-06 09:59:57 -0800
commitbfcccfe78b361f5f6ef48554aed5bcd30c72f67f (patch)
tree8ad6c2d9d0934c4dee1ce239e0eb3592cda875d5 /tools/perf/scripts/python/stat-cpi.py
parenta3ead21d6eec4d18b48466c7b978566bc9cab676 (diff)
netdevsim: drop code duplicated by a merge
Looks like the port adding loop makes a re-appearance on net-next after net was merged back into it (even though it doesn't feature in the merge diff). The ports are already added in nsim_dev_create() so when we try to add them again get EEXIST, and see: netdevsim: probe of netdevsim0 failed with error -17 in the logs. When we remove the loop again the nsim_dev_probe() and nsim_dev_remove() become a wrapper of nsim_dev_create() and nsim_dev_destroy(). Remove this layer of indirection. Fixes: d31e95585ca6 ("Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net") Signed-off-by: Jakub Kicinski <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions