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

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

 



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

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux