mirror of
https://github.com/torvalds/linux.git
synced 2026-11-20 21:12:43 +00:00
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 <[email protected]> Acked-by: Raphaël Gallais-Pou <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Raphael Gallais-Pou <[email protected]>