Re: [PATCH] drm/amd/display: cleanup the code a bit

2021-11-17 Thread Alex Deucher
Applied. Thanks! On Tue, Nov 16, 2021 at 4:19 AM Christian König wrote: > > Am 16.11.21 um 02:34 schrieb Bernard Zhao: > > In function dc_sink_destruct, kfree will check pointer, no need > > to check again. > > This change is to cleanup the code a bit. > > > > Signed-off-by: Bernard Zhao > >

Re: [PATCH] drm/amd/display: cleanup the code a bit

2021-11-16 Thread Christian König
Am 16.11.21 um 02:34 schrieb Bernard Zhao: In function dc_sink_destruct, kfree will check pointer, no need to check again. This change is to cleanup the code a bit. Signed-off-by: Bernard Zhao This one and the other patch are Acked-by: Christian König ---

[PATCH] drm/amd/display: cleanup the code a bit

2021-11-15 Thread Bernard Zhao
In function dc_sink_destruct, kfree will check pointer, no need to check again. This change is to cleanup the code a bit. Signed-off-by: Bernard Zhao --- drivers/gpu/drm/amd/display/dc/core/dc_sink.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git