Merge #10553: Simplify "bool x = y ? true : false". Remove unused function and traili...