media: atomisp: Remove snr_mbus_fmt local var from atomisp_try_fmt()
authorHans de Goede <hdegoede@redhat.com>
Sun, 5 Mar 2023 17:52:23 +0000 (17:52 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 15 Apr 2023 09:39:34 +0000 (10:39 +0100)
commit52172e9ecf2b1137b250be79df26f9fbf106df92
treeba9f66c35461697c877df8d74be2a7ad86d26bfc
parentfa8730b06cb3e40c8fbc265202a10849146470b5
media: atomisp: Remove snr_mbus_fmt local var from atomisp_try_fmt()

snr_mbus_fmt is a local variable pointing to a substruct of another local
variable which really just makes the code harder to read / follow,
so drop it.

And likewise also drop the stream_info local variable.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_cmd.c