From 387a5a858052c35d2ab7b0a829cac6b14b5fbbb0 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Tue, 25 Feb 2003 17:29:10 +0000 Subject: remove redundant check. ok henning@ --- sys/dev/ic/dc.c | 8 +++----- 1 file 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: -- cgit v1.2.3