diff options
| author | Mohammad Shahid <mdshahid03@gmail.com> | 2026-07-03 19:25:13 +0530 |
|---|---|---|
| committer | Alison Schofield <alison.schofield@intel.com> | 2026-07-14 16:12:53 -0700 |
| commit | f6b2b1ad96c61c9223243097fe3da20dfe50ee69 (patch) | |
| tree | e35712d2b1df964ac838e1cc5859c1569c597c0f /tools/perf/scripts/python | |
| parent | 61f4eef68feee5076674c2d36749184afc3c9ffe (diff) | |
nvdimm: ndtest: remove redundant NULL check before vfree()
vfree() safely handles NULL pointers, so the explicit NULL check
before calling vfree() is unnecessary.
This issue was reported by ifnullfree.cocci.
Signed-off-by: Mohammad Shahid <mdshahid03@gmail.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://patch.msgid.link/20260703135513.75840-1-mdshahid03@gmail.com
Signed-off-by: Alison Schofield <alison.schofield@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
