Skip to content
Commit ebe02de2 authored by Himanshu Jha's avatar Himanshu Jha Committed by Alex Deucher
Browse files

drm/amd/powerplay/hwmgr: Remove null check before kfree



kfree on NULL pointer is a no-op and therefore checking is redundant.

Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Reviewed-by: default avatarRex Zhu <Rex.Zhu@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarHimanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent c5927537
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment