summaryrefslogtreecommitdiff
path: root/rust/helpers/vmalloc.c
diff options
context:
space:
mode:
authorLiao Yuanhong <liaoyuanhong@vivo.com>2025-09-04 19:26:40 +0800
committerJani Nikula <jani.nikula@intel.com>2025-09-08 13:45:49 +0300
commit30c3ffb880315b907ccd682ed4e17d20f786fdf9 (patch)
treea832971741954056933f95690a59560a05f8ff6a /rust/helpers/vmalloc.c
parent55c771b0d8a70a10d549d5296cf5e3342bef548f (diff)
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: Liao Yuanhong <liaoyuanhong@vivo.com> Link: https://lore.kernel.org/r/20250904112644.350512-1-liaoyuanhong@vivo.com Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions