]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: dvb-frontends: Remove redundant ternary operators
authorLiao Yuanhong <liaoyuanhong@vivo.com>
Tue, 26 Aug 2025 14:51:54 +0000 (22:51 +0800)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 14 Oct 2025 13:07:36 +0000 (15:07 +0200)
commita5e4a493756e96a076b2dfe83ded4496b698d004
tree2717c8bb30b71868b7ca74ae0d7f92ed5b60a69f
parent32768975e9b67169c62a0a9bfbd4eeec98d0b8ea
media: dvb-frontends: 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: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/dvb-frontends/drx39xyj/drxj.c
drivers/media/dvb-frontends/drxk_hard.c