media: meson: vdec: remove redundant if statement
authorBenjamin Roszak <benjamin545@gmail.com>
Mon, 23 Jan 2023 07:17:08 +0000 (08:17 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Wed, 8 Feb 2023 08:03:03 +0000 (09:03 +0100)
commit4ab3f69cba785988b7cb386e35e661bfa1aa0706
treec9ce9aecfc620c96cf09a47b15ec459f6b4bbb68
parentebad8e731c1c06adf04621d6fd327b860c0861b5
media: meson: vdec: remove redundant if statement

Checking if sess->fmt_out->pixfmt is V4L2_PIX_FMT_VP9 was already done as a
condition to enter the if statement where this additional check is made.

Signed-off-by: Benjamin Roszak <benjamin545@gmail.com>
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Acked-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/meson/vdec/esparser.c