drivers/amdgpu: Remove redundant NULL check before kfree()
authorEdward O'Callaghan <funfunctor@folklore1984.net>
Tue, 12 Jul 2016 00:17:54 +0000 (10:17 +1000)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Jul 2016 18:36:49 +0000 (14:36 -0400)
commita698e41782dfa223b1f929152d24821af3fbea56
tree148e1ac4abaa13a6407c9d6f5d6e4fee681687d5
parent004e29ccf034ea1fb08e77b76106891bb88fae6f
drivers/amdgpu: Remove redundant NULL check before kfree()

Found-by: Coccinelle
Signed-off-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
drivers/gpu/drm/amd/powerplay/hwmgr/functiontables.c