[PATCH] drm/amd/display: remove redundant check

Greg KH gregkh at linuxfoundation.org
Tue Oct 31 05:48:29 UTC 2023


On Mon, Oct 30, 2023 at 07:17:48PM +0200, José Pekkarinen wrote:
> This patch addresses the following warning spotted by
> using coccinelle where the case checked does the same
> than the else case.
> 
> drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c:4664:8-10: WARNING: possible condition with no effect (if == else)
> 
> Fixes: 974ce181 ("drm/amd/display: Add check for PState change in DCN32")
> 
> Cc: stable at vger.kernel.org

Why is this relevant for stable?



More information about the dri-devel mailing list