mirror of
https://github.com/torvalds/linux.git
synced 2025-11-01 17:18:25 +02: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 <liaoyuanhong@vivo.com> Acked-by: Raphaƫl Gallais-Pou <rgallaispou@gmail.com> Link: https://lore.kernel.org/r/20250904112738.350652-1-liaoyuanhong@vivo.com Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| NOTES | ||
| sti_awg_utils.c | ||
| sti_awg_utils.h | ||
| sti_compositor.c | ||
| sti_compositor.h | ||
| sti_crtc.c | ||
| sti_crtc.h | ||
| sti_cursor.c | ||
| sti_cursor.h | ||
| sti_drv.c | ||
| sti_drv.h | ||
| sti_dvo.c | ||
| sti_gdp.c | ||
| sti_gdp.h | ||
| sti_hda.c | ||
| sti_hdmi.c | ||
| sti_hdmi.h | ||
| sti_hdmi_tx3g4c28phy.c | ||
| sti_hdmi_tx3g4c28phy.h | ||
| sti_hqvdp.c | ||
| sti_hqvdp_lut.h | ||
| sti_mixer.c | ||
| sti_mixer.h | ||
| sti_plane.c | ||
| sti_plane.h | ||
| sti_tvout.c | ||
| sti_vid.c | ||
| sti_vid.h | ||
| sti_vtg.c | ||
| sti_vtg.h | ||