Tag: a698e41782dfa223b1f929152d24821af3fbea56

drivers/amdgpu: Remove redundant NULL check before kfree()

Author: Edward O’Callaghan <funfunctor@folklore1984.net> Found-by: Coccinelle Signed-off-by: Edward O’Callaghan Reviewed-by: Tom St Denis Reviewed-by: Christian König Signed-off-by: Alex Deucher — drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 3 +– drivers/gpu/drm/amd/powerplay/hwmgr/functiontables.c | 3 +– 2 files changed, 2 insertions(+), 4 deletions(-)   diff –git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c index ee95e95..4cd857f 100644 — a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c @@ -1065,8 +1065,7 @@ static int amdgpu_cgs_acpi_eval_object(struct cgs_device …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.