media: atomisp: Avoid some {} just to define new vars
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 15 Nov 2021 12:18:52 +0000 (12:18 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 16 Nov 2021 14:37:09 +0000 (14:37 +0000)
commitc35abde30ac69383328c21d368dbff8811ff8d89
tree9fb64f2f86cdb694d76e95531b7db8d3faeb1c66
parent0badc300c03aeff5c038eb852122f6e95df64821
media: atomisp: Avoid some {} just to define new vars

There are a couple of places where {} are used just to
define a new var. Just move the var to the top of the function
and get rid of that ugly blocks.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/sh_css.c