diff options
| author | Mohammad Shahid <mdshahid03@gmail.com> | 2026-07-03 20:18:51 +0530 |
|---|---|---|
| committer | Alison Schofield <alison.schofield@intel.com> | 2026-07-14 16:11:46 -0700 |
| commit | 61f4eef68feee5076674c2d36749184afc3c9ffe (patch) | |
| tree | 54189be5162ae1ceb407f306ec0e6d2aea89626b /tools/perf/scripts/python | |
| parent | a13c140cc289c0b7b3770bce5b3ad42ab35074aa (diff) | |
nvdimm: nfit: 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/20260703144851.80309-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
