]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd3356f3cbbc3efab53d9c67792a27a9e00762e46
tree1924b0439a83e8c524c5e16a75733a7c70f45116
parent05c2f28dcaaac2454c9d86e5f0767f0730c91be6
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