OSDN Git Service

media: staging: media: atomisp: Replace if else clause with a ternary
authorMartiros Shakhzadyan <vrzh@vrzh.net>
Mon, 19 Apr 2021 19:26:00 +0000 (21:26 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 19 May 2021 07:51:38 +0000 (09:51 +0200)
commitd4bc34d18201120b247506b4a6ed17af694dfcf7
tree98111a05f08baded7ecee703b976e6258cbbcf84
parent9d634547323e7cb7dd11c68075e8128ce68544ae
media: staging: media: atomisp: Replace if else clause with a ternary

Use the ternary operator for conditional variable assignment in
create_host_video_pipeline().

Signed-off-by: Martiros Shakhzadyan <vrzh@vrzh.net>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/sh_css.c