Re: [PATCH] Staging: comedi: remove unnecessary braces in pcl711.c

From: Dan Carpenter
Date: Tue Jan 14 2014 - 02:14:46 EST


On Mon, Jan 13, 2014 at 09:13:16PM -0600, Chase Southwood wrote:
> This patch for pcl711.c removes braces causing a checkpatch.pl warning.
> It also removes an empty else arm of an if-else statement.
>
> Signed-off-by: Chase Southwood <chase.southwood@xxxxxxxxx>
> ---
>
> I removed the "else" arm of this statement because it was empty, save
> for the "ignore" comment. If it is instead preferred kernel style for
> this empty else to remain in, let me know and I will correct this
> patch accordingly.
>

Nope, it's perfect. Don't doubt yourself. Always feel free to change
the code.

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/