staging: vchiq_core: improve readability of request_poll
authorStefan Wahren <stefan.wahren@i2se.com>
Sun, 11 Apr 2021 18:11:36 +0000 (20:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Apr 2021 09:41:22 +0000 (11:41 +0200)
commit0e345d97730678d526bed36947beda4eb15642de
tree2b6178543fb6bc79b3c7bb8dcd0813e3ba679feb
parent63276d45bac52bd0ecfc35f613b81522fadf26c1
staging: vchiq_core: improve readability of request_poll

Storing the index for poll services in a local var will increase the
readability of the second loop. Also we get the rid off the checkpatch
issue about the line ending with a square bracket.

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