[PATCH 4/5] staging: ft1000: Fix coding style in write_blk_fifo() function.

Dan Carpenter error27 at gmail.com
Wed Jan 26 13:43:18 UTC 2011


On Wed, Jan 26, 2011 at 04:07:18PM +0300, Dan Carpenter wrote:
> You didn't introduce it but do you know what the code is trying to do
> here?
> 
>         byte_length = word_length * 4;
> 
>         if (byte_length % 4)

Actually this check is pointless.  word_length * 4 is always
aligned at 4 bytes.

regards,
dan carpenter





More information about the devel mailing list