Re: [PATCH] drm/amd: remove possible condition with no effect (if == else)

2022-08-25 Thread Alex Deucher
Applied. Thanks! On Tue, Aug 23, 2022 at 3:30 AM Bernard Zhao wrote: > > This patch fix cocci warning: > drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c:1816:6-8: > WARNING: possible condition with no effect (if == else). > > Signed-off-by: Bernard Zhao > --- > drivers/gpu/drm/amd/disp

Re: [PATCH] drm/amd: remove possible condition with no effect (if == else)

2022-08-25 Thread Alex Deucher
Applied. Thanks! Alex On Tue, Aug 23, 2022 at 3:01 AM Bernard Zhao wrote: > > This patch fix cocci warning: > drivers/gpu/drm/amd/display/dc/core/dc.c:3335:2-4: WARNING: > possible condition with no effect (if == else). > > Signed-off-by: Bernard Zhao > --- > drivers/gpu/drm/amd/display/dc/co

[PATCH] drm/amd: remove possible condition with no effect (if == else)

2022-08-24 Thread Bernard Zhao
This patch fix cocci warning: drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c:1816:6-8: WARNING: possible condition with no effect (if == else). Signed-off-by: Bernard Zhao --- drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dr

[PATCH] drm/amd: remove possible condition with no effect (if == else)

2022-08-23 Thread Bernard Zhao
This patch fix cocci warning: drivers/gpu/drm/amd/display/dc/core/dc.c:3335:2-4: WARNING: possible condition with no effect (if == else). Signed-off-by: Bernard Zhao --- drivers/gpu/drm/amd/display/dc/core/dc.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/