staging: vchiq: add braces to if block
authorGaston Gonzalez <gascoar@gmail.com>
Wed, 15 Sep 2021 20:29:15 +0000 (17:29 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Sep 2021 14:27:50 +0000 (16:27 +0200)
commit341975886aed47b1d34d04676c82f52614a7ba3c
tree49004606846088615e0bcc5a8b71384d350b471c
parent5b3087efe0b610b7b022e789ef9e3b58c1b612f3
staging: vchiq: add braces to if block

The rule of not using braces in single statement does not apply if only
one branch of the conditional statement is a single statement. Add
braces to fix this.

While at it, remove extra blank space after a comment inside the if
block.

Reported by checkpatch.pl

Signed-off-by: Gaston Gonzalez <gascoar@gmail.com>
Link: https://lore.kernel.org/r/20210915202916.413914-2-gascoar@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_connected.c