media: staging/intel-ipu3: Simplify single goto jump
authorDeepak R Varma <mh12gx2825@gmail.com>
Mon, 30 Mar 2020 23:20:57 +0000 (01:20 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 14 Apr 2020 10:31:37 +0000 (12:31 +0200)
commitf744d9a4fee3a80f341eb04dad92256b513790ab
treebbec4f0c8424076d6961689fb6d583b547b7e2f7
parentce7d96a4a77d3db1ae86415c0a74bf812dc81103
media: staging/intel-ipu3: Simplify single goto jump

On successful node setup, the code jumps to a cleanup label to perform
nodes cleanup. This only call to cleanup using goto label can be
included in the for / if blocks to make it look more associated.

Signed-off-by: Deepak R Varma <mh12gx2825@gmail.com>
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/ipu3/ipu3-v4l2.c