Commit e60c5e14 authored by David S. Miller's avatar David S. Miller
Browse files

atm: he: Fix undefined sequence points.



GCC complains in these queue index operations because we
perform operations of the form:

	x = some_operation(++x);

which is undefined.  Replace with:

	x = some_operation(x + 1);

which is well defined and provides the intended operation.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dd182574
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment