smsc9420: fix another postfixed timeout

Roel Kluin recently fixed several instances where variables reach -1,
but 0 is tested afterwards. This patch fixes another, so the timeout
will be correctly detected and a warning printed.

Signed-off-by: Steve Glendinning <steve.glendinning@smsc.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by Steve Glendinning and committed by David S. Miller 9df8f4e3 494ef10e

+1 -1
+1 -1
drivers/net/smsc9420.c
··· 341 341 do { 342 342 msleep(1); 343 343 e2cmd = smsc9420_reg_read(pd, E2P_CMD); 344 - } while ((e2cmd & E2P_CMD_EPC_BUSY_) && (timeout--)); 344 + } while ((e2cmd & E2P_CMD_EPC_BUSY_) && (--timeout)); 345 345 346 346 if (!timeout) { 347 347 smsc_info(HW, "TIMED OUT");