diff options
author | Liao Yuanhong <liaoyuanhong@vivo.com> | 2025-08-26 17:52:43 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2025-09-04 11:37:05 +0300 |
commit | 9df928c90c109c97bdb565f81d3674224f3d118a (patch) | |
tree | 0f640f2ff692d197d5e57462c84cbbe35af89b06 /drivers/media/v4l2-core/v4l2-ctrls-request.c | |
parent | 73d50aa92f28ee8414fbfde011974fce970b82cc (diff) | |
download | linux-9df928c90c109c97bdb565f81d3674224f3d118a.tar.xz |
media: chips-media: wave5: 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: Liao Yuanhong <liaoyuanhong@vivo.com>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ctrls-request.c')
0 files changed, 0 insertions, 0 deletions