lkml.org 
[lkml]   [2011]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/5] staging: ft1000: Fix coding style in write_blk_fifo() function.
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




\
 
 \ /
  Last update: 2011-01-26 14:45    [from the cache]
©2003-2011 Jasper Spaans