diff options
author | 2022-06-16 09:32:53 +0800 | |
---|---|---|
committer | 2022-07-16 15:33:55 +0200 | |
commit | bbd5c96850d9de535a83a3a3842dec2169cb31d1 (patch) | |
tree | 4f964216263f2e06bae4a6fa60906f9b17de0eaf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | coccinelle: Remove script that checks replacing 0/1 with false/true in functions returning bool (diff) | |
download | linux-dev-bbd5c96850d9de535a83a3a3842dec2169cb31d1.tar.xz linux-dev-bbd5c96850d9de535a83a3a3842dec2169cb31d1.zip |
scripts/coccinelle/free: add NULL test before dev_{put, hold} functions
Since commit b37a46683739 ("netdevice: add the case if dev is NULL"),
NULL check before dev_{put, hold} functions is not needed.
Signed-off-by: Ziyang Xuan <william.xuanziyang@huawei.com>
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions