diff options
| author | Bernard Zhao <[email protected]> | 2021-11-16 01:34:35 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-11-22 19:45:03 +0000 |
| commit | 24adfaffd5adecceb0a2608d5ec2e47756b8a671 (patch) | |
| tree | 99cf3d7d98bcf4c954df9872ff2db6243943625a /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
| parent | drm/amd/display: remove no need NULL check before kfree (diff) | |
| download | kernel-24adfaffd5adecceb0a2608d5ec2e47756b8a671.tar.gz kernel-24adfaffd5adecceb0a2608d5ec2e47756b8a671.zip | |
drm/amd/display: cleanup the code a bit
In function dc_sink_destruct, kfree will check pointer, no need
to check again.
This change is to cleanup the code a bit.
Acked-by: Christian König <[email protected]>
Signed-off-by: Bernard Zhao <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions
