Re: isdn/eicon: msg_in_{wrap,read}_pos assigned twice?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: roel kluin <roel.kluin@...>
Cc: <linux-kernel@...>
Date: Monday, July 28, 2008 - 10:41 am

On Fri, 25 Jul 2008, roel kluin wrote:

If (plci->msg_in_read_pos == plci->msg_in_wrap_pos) is true in the first 
test it can't be true in the second.
So the code could be optimized a bit. But the first assignments are needed.

If it's false in the first it may become true in the second. So it's not a 
bug. All conditions are really needed.

Armin

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
isdn/eicon: msg_in_{wrap,read}_pos assigned twice?, roel kluin, (Fri Jul 25, 3:26 pm)
Re: isdn/eicon: msg_in_{wrap,read}_pos assigned twice?, Armin Schindler, (Mon Jul 28, 10:41 am)