summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2019-11-06 00:26:11 +0300
committerDavid S. Miller <davem@davemloft.net>2019-11-06 20:59:57 +0300
commitbfcccfe78b361f5f6ef48554aed5bcd30c72f67f (patch)
tree8ad6c2d9d0934c4dee1ce239e0eb3592cda875d5 /tools/perf/scripts/python/sched-migration.py
parenta3ead21d6eec4d18b48466c7b978566bc9cab676 (diff)
downloadlinux-bfcccfe78b361f5f6ef48554aed5bcd30c72f67f.tar.xz
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 <jakub.kicinski@netronome.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions