linux/tools/testing/nvdimm
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
..
test nvdimm: ndtest: remove redundant NULL check before vfree() 2026-07-14 16:12:53 -07:00
acpi_nfit_test.c
config_check.c nvdimm/blk: Delete the block-aperture window driver 2022-03-11 15:53:12 -08:00
dax_pmem_test.c
dax-dev.c
device_dax_test.c
Kbuild tools/testing/nvdimm: Disable "missing prototypes / declarations" warnings 2024-01-22 10:41:59 -08:00
libnvdimm_test.c
Makefile
pmem_test.c
pmem-dax.c mm: remove callers of pfn_t functionality 2025-07-09 22:42:19 -07:00
watermark.h