SMSC: timeout reaches -1

With a postfix decrement timeouts will reach -1 rather than 0, so
the error path does not appear.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by Roel Kluin and committed by David S. Miller 2cf0dbed 196b7e1b

+1 -1
+1 -1
drivers/net/smsc911x.c
··· 1624 do { 1625 msleep(1); 1626 e2cmd = smsc911x_reg_read(pdata, E2P_CMD); 1627 - } while ((e2cmd & E2P_CMD_EPC_BUSY_) && (timeout--)); 1628 1629 if (!timeout) { 1630 SMSC_TRACE(DRV, "TIMED OUT");
··· 1624 do { 1625 msleep(1); 1626 e2cmd = smsc911x_reg_read(pdata, E2P_CMD); 1627 + } while ((e2cmd & E2P_CMD_EPC_BUSY_) && (--timeout)); 1628 1629 if (!timeout) { 1630 SMSC_TRACE(DRV, "TIMED OUT");