aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorYang Li <[email protected]>2023-05-11 15:21:19 +0800
committerDavid S. Miller <[email protected]>2023-05-12 08:56:57 +0100
commit0fae8847563b0c990f8cffcb8d3668fbcaca4919 (patch)
treeab34a6a03a683072ed95429512c7b801b0146a55 /tools/perf/scripts/python/futex-contention.py
parent48c0db05a1bf60067cdee062a6bfad6db5c1f602 (diff)
ipvlan: Remove NULL check before dev_{put, hold}
The call netdev_{put, hold} of dev_{put, hold} will check NULL, so there is no need to check before using dev_{put, hold}, remove it to silence the warning: ./drivers/net/ipvlan/ipvlan_core.c:559:3-11: WARNING: NULL check before dev_{put, hold} functions is not needed. Reported-by: Abaci Robot <[email protected]> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4930 Signed-off-by: Yang Li <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions