diff options
author | Deepak R Varma <[email protected]> | 2023-01-12 19:21:30 +0530 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-01-13 14:54:51 -0500 |
commit | 2ab21bb96e97f06861f65534e23f9b48020858fc (patch) | |
tree | 37ba289fb6c283177bb43b11c96a669f4bae8750 /tools/perf/scripts/python | |
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 <[email protected]>
Signed-off-by: Deepak R Varma <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions