1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display
Deepak R Varma 447395e18a drm/amd/display: No need for Null pointer check before kfree
kfree() & vfree() internally performs 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.

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Deepak R Varma <drv@mailo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-01-10 18:04:53 -05:00
..
amdgpu_dm drm/amd: Use amdgpu_ucode_* helpers for DMCU 2023-01-10 14:32:58 -05:00
dc drm/amd/display: No need for Null pointer check before kfree 2023-01-10 18:04:53 -05:00
dmub drm/amd/display: Add DPIA NOTIFICATION logic 2022-12-15 12:18:18 -05:00
include drm/amd/display: add support for three new square pattern variants from DP2.1 specs 2022-12-15 12:18:19 -05:00
modules drm/amd/display: fix PSR-SU/DSC interoperability support 2023-01-09 17:02:18 -05:00
Kconfig drm/amd/display: add DCN support for ARM64 2022-11-04 16:05:54 -04:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00