Commit a4c5fbfa authored by Daniela Mormocea's avatar Daniela Mormocea Committed by Greg Kroah-Hartman
Browse files

staging: media: davinci_vpfe: Fix multiple line dereference



Fix multiple line dereference to improve readability
and avoid checkpatch warning

Signed-off-by: default avatarDaniela Mormocea <daniela.mormocea@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5921a138
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -920,8 +920,7 @@ ipipeif_link_setup(struct media_entity *entity, const struct media_pad *local,
		if (remote->entity == &vpfe->vpfe_ipipe.subdev.entity)
			/* connencted to ipipe */
			ipipeif->output = IPIPEIF_OUTPUT_IPIPE;
		else if (remote->entity == &vpfe->vpfe_resizer.
			crop_resizer.subdev.entity)
		else if (remote->entity == &vpfe->vpfe_resizer.crop_resizer.subdev.entity)
			/* connected to resizer */
			ipipeif->output = IPIPEIF_OUTPUT_RESIZER;
		else