diff options
| author | Yajun Deng <yajun.deng@linux.dev> | 2021-12-17 17:25:45 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-12-18 12:35:49 +0000 |
| commit | f85b244ee395c774a0039c176f46fc0d3747a0ae (patch) | |
| tree | 556a42c4754b29b988b23b9823a10a86d2b47ef5 /tools/perf/scripts/python/netdev-times.py | |
| parent | Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/n... (diff) | |
| download | linux-f85b244ee395c774a0039c176f46fc0d3747a0ae.tar.gz linux-f85b244ee395c774a0039c176f46fc0d3747a0ae.zip | |
xdp: move the if dev statements to the first
The xdp_rxq_info_unreg() called by xdp_rxq_info_reg() is meaningless when
dev is NULL, so move the if dev statements to the first.
Signed-off-by: Yajun Deng <yajun.deng@linux.dev>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
