Re: [PATCH] prevent that myri_do_handshake lies about ticks in drivers/net/myri_sbus.c

2007-11-13 Thread David Miller
From: Roel Kluin <[EMAIL PROTECTED]> Date: Mon, 05 Nov 2007 16:06:11 +0100 > With '<=' tick can be incremented up to 26, The last loop is redundant since > even when 'softstate' becomes 'STATE_READY', 'if (tick > 25)' will still cause > the function to return -1, > > Signed-off-by: Roel Kluin <[

[PATCH] prevent that myri_do_handshake lies about ticks in drivers/net/myri_sbus.c

2007-11-05 Thread Roel Kluin
With '<=' tick can be incremented up to 26, The last loop is redundant since even when 'softstate' becomes 'STATE_READY', 'if (tick > 25)' will still cause the function to return -1, Signed-off-by: Roel Kluin <[EMAIL PROTECTED]> --- diff --git a/drivers/net/myri_sbus.c b/drivers/net/myri_sbus.c i