staging: vchiq_core: introduce service skip
authorStefan Wahren <stefan.wahren@i2se.com>
Sun, 11 Apr 2021 18:11:35 +0000 (20:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Apr 2021 09:41:22 +0000 (11:41 +0200)
commit63276d45bac52bd0ecfc35f613b81522fadf26c1
tree1924b0439a83e8c524c5e16a75733a7c70f45116
parentb3582ed4269d1654680ee9daafc1976ca1d9c119
staging: vchiq_core: introduce service skip

In case there is no service pointer provided, we can skip these polling.
Use a goto to reduce the indentation, which is necessary for the following
patches. Btw fix the brace alignment of the loops.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Link: https://lore.kernel.org/r/1618164700-21150-6-git-send-email-stefan.wahren@i2se.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c