]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vchiq_core: introduce handle_poll
authorStefan Wahren <stefan.wahren@i2se.com>
Thu, 3 Jun 2021 15:50:05 +0000 (17:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Jun 2021 13:10:03 +0000 (15:10 +0200)
commit589f72172cbf9bd320e75be61d5afeda9b923371
tree5fcc4804846a9873e5f62da7ac226d5d8aa86b65
parentccaaec779da4d646a419123171a278c8e886bef4
staging: vchiq_core: introduce handle_poll

The function slot_handler_func() has very deep indentations. Moving the
poll handling into separate function could improve the readability.
Use the return value to keep the poll_needed handling at the same place.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Link: https://lore.kernel.org/r/1622735405-9980-17-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