diff options
author | Thorsten Blum <[email protected]> | 2024-10-07 13:51:32 +0200 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2024-10-10 23:01:45 -0400 |
commit | f07fd958a49264eebc1db9c946eb5d2e91c470fd (patch) | |
tree | 43dd0786240871790ab2ed48ec111226699471f8 /scripts/generate_rust_analyzer.py | |
parent | 26498b8d54373d31a621d7dec95c4bd842563b3b (diff) |
drm/vmwgfx: Remove unnecessary NULL checks before kvfree()
Since kvfree() already checks if its argument is NULL, an additional
check before calling kvfree() is unnecessary and can be removed.
Remove both and the following Coccinelle/coccicheck warnings reported by
ifnullfree.cocci:
WARNING: NULL check before some freeing functions is not needed
WARNING: NULL check before some freeing functions is not needed
Signed-off-by: Thorsten Blum <[email protected]>
Signed-off-by: Zack Rusin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions