lkml.org 
[lkml]   [2012]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: drivers: Probable misuses of ||
From
On Thu, Apr 5, 2012 at 1:00 AM, Joe Perches <joe@perches.com> wrote:
> Likely these should be && not ||
>
> drivers/scsi/FlashPoint.c:                              if(bit_cnt != 0 || bit_cnt != 8)

/*
if(bit_cnt != 0 || bit_cnt != 8)
{
byte_cnt = 0;
bit_cnt = 0;
FPT_scxferc(p_port, SYNC_PTRN);
FPT_scxferc(p_port, ASSIGN_ID);
continue;
}
*/
dead code...

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

\
 
 \ /
  Last update: 2012-05-05 01:21    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site