linux/tools/testing/nvdimm/test
Mohammad Shahid f6b2b1ad96 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>
2026-07-14 16:12:53 -07:00
..
iomap.c mm: remove callers of pfn_t functionality 2025-07-09 22:42:19 -07:00
Kbuild tools/testing/nvdimm: Add compile-test coverage for ndtest 2023-12-15 17:07:12 +01:00
ndtest.c nvdimm: ndtest: remove redundant NULL check before vfree() 2026-07-14 16:12:53 -07:00
ndtest.h powerpc/papr_scm: Move duplicate definitions to common header files 2024-04-25 12:37:12 -07:00
nfit_test.h mm: remove callers of pfn_t functionality 2025-07-09 22:42:19 -07:00
nfit.c nvdimm: nfit: remove redundant NULL check before vfree() 2026-07-14 16:11:46 -07:00