aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorDeepak R Varma <drv@mailo.com>2023-01-12 19:21:30 +0530
committerAlex Deucher <alexander.deucher@amd.com>2023-01-13 14:54:51 -0500
commit2ab21bb96e97f06861f65534e23f9b48020858fc (patch)
tree37ba289fb6c283177bb43b11c96a669f4bae8750 /drivers/gpu/drm/amd/amdgpu
parent35a45d630359bf9bcbeb612073c7869afb944436 (diff)
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: 473683a03495 ("drm/amd/display: Create a file dedicated for CRTC") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Deepak R Varma <drv@mailo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions