Files
linux/drivers/net
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
..
2023-08-11 21:12:45 +02:00
2023-10-17 12:45:03 +02:00
2023-10-01 19:09:54 +01:00
2023-08-11 21:12:45 +02:00
2023-08-14 08:03:52 +01:00
2023-10-10 17:49:00 -07:00
2023-10-04 11:49:20 -07:00
2023-10-17 17:44:51 -07:00