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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux