lkml.org 
[lkml]   [2017]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/4] char/snsc: Delete unnecessary braces in five functions
On Mon, Oct 16, 2017 at 05:07:29PM +0200, SF Markus Elfring wrote:
> /* ...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.

regards,
dan carpenter

\
 
 \ /
  Last update: 2017-10-17 10:50    [W:0.054 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site