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" or "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 <[email protected]> Signed-off-by: Alex Deucher <[email protected]>