Re: [PATCH 4/4] char/snsc: Delete unnecessary braces in five functions

From: SF Markus Elfring
Date: Tue Oct 17 2017 - 05:11:40 EST


>> /* ...or if we want to block, then do so here */
>> - if (down_interruptible(&sd->sd_wbs)) {
>> + if (down_interruptible(&sd->sd_wbs))
>> /* something went wrong with wait */
>> return -ERESTARTSYS;
>> - }
>> }
>
> Multi-line indents get parenthesis.

How do you think about to add such an expectation to the section
â3) Placing Braces and Spacesâ in the document âcoding-style.rstâ?

Regards,
Markus