Re: Three if-clauses of constant logic value; char drivers for kernel 2.4.33.3

2007-02-03 Thread Willy Tarreau
Hi Mats, On Tue, Dec 19, 2006 at 09:59:37PM +0100, Mats Erik Andersson wrote: > Hi there, all masters of kernel code, > > I just discovered that the kernel code for 2.4.33.3 contains three > if-statements that never can change their values, whence they should > be repaired or eliminated. In sourc

Re: Three if-clauses of constant logic value; char drivers for kernel 2.4.33.3

2006-12-29 Thread Willy Tarreau
On Tue, Dec 19, 2006 at 09:59:37PM +0100, Mats Erik Andersson wrote: > Hi there, all masters of kernel code, Hi ! > I just discovered that the kernel code for 2.4.33.3 contains three > if-statements that never can change their values, whence they should > be repaired or eliminated. In source dire

Three if-clauses of constant logic value; char drivers for kernel 2.4.33.3

2006-12-19 Thread Mats Erik Andersson
Hi there, all masters of kernel code, I just discovered that the kernel code for 2.4.33.3 contains three if-statements that never can change their values, whence they should be repaired or eliminated. In source directory linux/drivers/char the files vt.c and keyboard.c produce these warning upon c