]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8eb943ad1bdee1958af10807763b085e492269e8
tree9ac218178afe51593091e8d9734a3e33a98eeb5f
parent739d2fec4e4c970cd39891f302b1a0d400902aa3
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