smsc911x: timeout reaches -1
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 30 Jan 2009 01:30:00 +0000 (17:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Jan 2009 01:30:00 +0000 (17:30 -0800)
commitf307dbd88d82c4ccab7aec49613c366023b89cde
tree9ac218178afe51593091e8d9734a3e33a98eeb5f
parent1609559547ae0ddc2e4829c7f78ac2c4869875b9
smsc911x: timeout reaches -1

With a postfix decrement the timeout will reach -1 rather than 0,
so the warning will not be issued.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/smsc911x.c