diff options
author | Yang Li <[email protected]> | 2023-05-11 15:21:19 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-05-12 08:56:57 +0100 |
commit | 0fae8847563b0c990f8cffcb8d3668fbcaca4919 (patch) | |
tree | ab34a6a03a683072ed95429512c7b801b0146a55 /tools/perf/scripts/python/stackcollapse.py | |
parent | 48c0db05a1bf60067cdee062a6bfad6db5c1f602 (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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions