Commit 30c3ffb8 authored by Liao Yuanhong's avatar Liao Yuanhong Committed by Jani Nikula
Browse files

drm/i915/gvt: Remove redundant ternary operators



For ternary operators in the form of "a ? false : true", if 'a' itself
returns a boolean result, the ternary operator can be omitted. Remove
redundant ternary operators to clean up the code.

Signed-off-by: default avatarLiao Yuanhong <liaoyuanhong@vivo.com>
Link: https://lore.kernel.org/r/20250904112644.350512-1-liaoyuanhong@vivo.com


Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 55c771b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment