Files
linux/drivers/net/ethernet/amd
Bragatheswaran Manickavel d0110443cf amd/pds_core: core: No need for Null pointer check before kfree
kfree()/vfree() internally perform NULL check on the
pointer handed to it and take no action if it indeed is
NULL. Hence there is no need for a pre-check of the memory
pointer before handing it to kfree()/vfree().

Issue reported by ifnullfree.cocci Coccinelle semantic
patch script.

Signed-off-by: Bragatheswaran Manickavel <bragathemanick0908@gmail.com>
Reviewed-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-10-25 10:34:28 +01:00
..
2022-09-16 10:27:47 +01:00
2021-11-19 11:05:20 +00:00
2023-05-17 21:27:30 -07:00
2023-04-21 08:29:14 +01:00
2021-11-19 11:05:20 +00:00