Skip to content
Commit 2ab21bb9 authored by Deepak R Varma's avatar Deepak R Varma Committed by Alex Deucher
Browse files

drm/amd/display: Conversion to bool not necessary



A logical evaluation already results in bool. There is no need for using
a ternary operator based evaluation and bool conversion of the outcome.
Issue identified using boolconv.cocci Coccinelle semantic patch.
This was also reported by the Kernel Test Robot. Hence

Fixes: 473683a0 ("drm/amd/display: Create a file dedicated for CRTC")

Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarDeepak R Varma <drv@mailo.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 35a45d63
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment