OSDN Git Service

media: staging: media: imx: remove unnecessary variable use
authorDeepak R Varma <mh12gx2825@gmail.com>
Fri, 16 Oct 2020 17:46:06 +0000 (19:46 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 16 Nov 2020 09:31:10 +0000 (10:31 +0100)
commitb14e7b66b08d604689e14dcd5b82855b46201699
tree1ca88e34fbb86d3b726b3f33edcf6dff5b5a3845
parentc7b2c0ccd064a9866b08935e48aa132fdcf2d48f
media: staging: media: imx: remove unnecessary variable use

Use of variable vc_num is unnecessary here as it is used only once.
Instead, the value can directly be used in place of the variable.

Signed-off-by: Deepak R Varma <mh12gx2825@gmail.com>
Acked-by: Steve Longerbeam <slongerbeam@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/imx/imx-media-csi.c