linux-imx/scripts/coccinelle
Ziyang Xuan bbd5c96850 scripts/coccinelle/free: add NULL test before dev_{put, hold} functions
Since commit b37a466837 ("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>
2022-07-16 15:33:55 +02:00
..
api coccinelle: api: rename kzfree to kfree_sensitive 2021-08-05 13:01:09 +02:00
free scripts/coccinelle/free: add NULL test before dev_{put, hold} functions 2022-07-16 15:33:55 +02:00
iterators drop fen.cocci 2022-01-15 12:15:35 +01:00
locks treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505 2019-06-19 17:11:22 +02:00
misc coccinelle: Remove script that checks replacing 0/1 with false/true in functions returning bool 2022-07-16 15:31:33 +02:00
null treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505 2019-06-19 17:11:22 +02:00
tests treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505 2019-06-19 17:11:22 +02:00