diff options
author | Deepak R Varma <drv@mailo.com> | 2023-01-12 19:21:30 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-01-13 14:54:51 -0500 |
commit | 2ab21bb96e97f06861f65534e23f9b48020858fc (patch) | |
tree | 37ba289fb6c283177bb43b11c96a669f4bae8750 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | |
parent | 35a45d630359bf9bcbeb612073c7869afb944436 (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/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions