Skip to content
Commit bbd5c968 authored by Ziyang Xuan's avatar Ziyang Xuan Committed by Julia Lawall
Browse files

scripts/coccinelle/free: add NULL test before dev_{put, hold} functions

Since commit b37a4668

 ("netdevice: add the case if dev is NULL"),
NULL check before dev_{put, hold} functions is not needed.

Signed-off-by: default avatarZiyang Xuan <william.xuanziyang@huawei.com>
Signed-off-by: default avatarJulia Lawall <Julia.Lawall@inria.fr>
parent 8e54fe1b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment