diff options
author | Liao Yuanhong <liaoyuanhong@vivo.com> | 2025-08-28 20:26:48 +0800 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2025-09-04 15:54:13 +0300 |
commit | f490253809c8dab4af62e787f5a3ac3d22aa869c (patch) | |
tree | d5b5445f244bc47195a72ca29138e0008a948d8c /rust/helpers/helpers.c | |
parent | a191224186ec16a4cb1775b2a647ea91f5c139e1 (diff) |
platform/x86/amd/pmf: Remove redundant ternary operators
For ternary operators in the form of "a ? true : false", 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/20250828122649.39574-1-liaoyuanhong@vivo.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions