Re: [PATCH] drm/amd/display: fix if == else warning

2022-04-25 Thread Alex Deucher
org>; open list:DRM DRIVERS > de...@lists.freedesktop.org>; open list > > Cc: zhengkui_...@outlook.com > > Subject: [PATCH] drm/amd/display: fix if == else warning > > > > Fix the following coccicheck warning: > > > > drivers/gpu/drm/amd/display/dc/dcn

RE: [PATCH] drm/amd/display: fix if == else warning

2022-04-24 Thread Liu, Zhan
l Vetter ; Liu, Charlene > ; Lei, Jun ; Guo Zhengkui > ; Liu, Zhan ; José Expósito > ; open list:AMD DISPLAY CORE g...@lists.freedesktop.org>; open list:DRM DRIVERS de...@lists.freedesktop.org>; open list > Cc: zhengkui_...@outlook.com > Subject: [PATCH] drm/amd/display:

[PATCH] drm/amd/display: fix if == else warning

2022-04-24 Thread Guo Zhengkui
Fix the following coccicheck warning: drivers/gpu/drm/amd/display/dc/dcn201/dcn201_hwseq.c:98:8-10: WARNING: possible condition with no effect (if == else) Signed-off-by: Guo Zhengkui --- drivers/gpu/drm/amd/display/dc/dcn201/dcn201_hwseq.c | 2 -- 1 file changed, 2 deletions(-) diff --git