mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 16:29:25 -04:00
staging: media: davinci_vpfe: Fix multiple line dereference
Fix multiple line dereference to improve readability and avoid checkpatch warning Signed-off-by: Daniela Mormocea <daniela.mormocea@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5921a1383a
commit
a4c5fbfa60
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user