diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2003-02-25 17:29:10 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2003-02-25 17:29:10 +0000 |
commit | 387a5a858052c35d2ab7b0a829cac6b14b5fbbb0 (patch) | |
tree | f11a21f788a2cb78ca87eda19dcf8daa89ab759d | |
parent | 9c39f6d3eec79bc73f4e96ebe036897108a23ab0 (diff) |
remove redundant check.
ok henning@
-rw-r--r-- | sys/dev/ic/dc.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/ic/dc.c b/sys/dev/ic/dc.c index cfe260bfe65..b74168e39aa 100644 --- a/sys/dev/ic/dc.c +++ b/sys/dev/ic/dc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dc.c,v 1.54 2003/01/31 14:22:38 deraadt Exp $ */ +/* $OpenBSD: dc.c,v 1.55 2003/02/25 17:29:09 tedu Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -574,10 +574,8 @@ int dc_mii_readreg(sc, frame) } for (i = 0x8000; i; i >>= 1) { - if (!ack) { - if (dc_mii_readbit(sc)) - frame->mii_data |= i; - } + if (dc_mii_readbit(sc)) + frame->mii_data |= i; } fail: |