]> git.ipfire.org Git - thirdparty/linux.git/commit
auxdisplay: arm-charlcd: Remove redundant ternary operators
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 29 Dec 2025 13:51:19 +0000 (14:51 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 29 Dec 2025 13:52:19 +0000 (14:52 +0100)
commitc18bde85706ddbd7ad1e130498b26d33a3733371
treede0fd74350f019e3319d82eb78ec9292ef13e0b3
parent548d6800fad6b55086addc8450d1f243a9167f35
auxdisplay: arm-charlcd: 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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/auxdisplay/arm-charlcd.c