confusion in apricot.c

Andrew G. Morgan (morgan@parc.power.net)
Sat, 19 Jul 1997 17:23:52 -0700 (PDT)


Hi,

When compiling the linux/drivers/net/apricot.c file (2.0.30 + unrelated
patches):

apricot.c: In function init_i596_mem':
apricot.c:301: warning: left-hand operand of comma expression has no effect
apricot.c:313: warning: left-hand operand of comma expression has no effect
[+ many more of the same]

I find warnings annoying so I took a look and the file. It contains pieces
of code like:

while (lp->scb.status, lp->scb.command)
....

Is this simply a result of an over enthusiastic search/replace or was there
some intended action that's not quite made it into the kernel yet?

Cheers

Andrew

-- 
               Linux-PAM, libpwdb, Orange-Linux and Linux-GSS
                  http://parc.power.net/morgan/index.html