mbox series

[-next,v2,0/3] media: Remove unnecessary ternary operators

Message ID 20230804065523.2986884-1-ruanjinjie@huawei.com
Headers show
Series media: Remove unnecessary ternary operators | expand

Message

Jinjie Ruan Aug. 4, 2023, 6:55 a.m. UTC
There are a little ternary operators, the true or false judgement
of which is unnecessary in C language semantics.

v1 -> v2:
- Remove unnecessary "? false : true" for drx39xyj
- Fix the spelling error, Ther -> There

Ruan Jinjie (3):
  media: dvb-frontends: drx39xyj: Remove unnecessary ternary operators
  media: radio-wl1273: Remove an unnecessary ternary operator
  media: dvb-usb: gp8psk: Remove an unnecessary ternary operator

 drivers/media/dvb-frontends/drx39xyj/drxj.c | 6 +++---
 drivers/media/radio/radio-wl1273.c          | 2 +-
 drivers/media/usb/dvb-usb/gp8psk.c          | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)