summaryrefslogtreecommitdiffstats
path: root/sys/dev/re/if_re.c
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2008-07-02 04:27:36 +0000
committeryongari <yongari@FreeBSD.org>2008-07-02 04:27:36 +0000
commit9ceaa3abd6dc3851f3868a181ee3a3f226921fe3 (patch)
tree73d62e8beda216eead44bf25b196a743bce8a483 /sys/dev/re/if_re.c
parent7572ac62733575418a63680bbc3bada7beddf679 (diff)
downloadFreeBSD-src-9ceaa3abd6dc3851f3868a181ee3a3f226921fe3.zip
FreeBSD-src-9ceaa3abd6dc3851f3868a181ee3a3f226921fe3.tar.gz
Remove duplicated H/W revision check.
Diffstat (limited to 'sys/dev/re/if_re.c')
-rw-r--r--sys/dev/re/if_re.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c
index 2b0ef3a..bb0a65d 100644
--- a/sys/dev/re/if_re.c
+++ b/sys/dev/re/if_re.c
@@ -1266,11 +1266,6 @@ re_attach(dev)
sc->rl_ldata.rl_tx_desc_cnt = RL_8139_TX_DESC_CNT;
sc->rl_ldata.rl_rx_desc_cnt = RL_8139_RX_DESC_CNT;
}
- if (hw_rev->rl_desc == NULL) {
- device_printf(dev, "Unsupported revision : 0x%08x\n", hwrev);
- error = ENXIO;
- goto fail;
- }
error = re_allocmem(dev, sc);
if (error)
OpenPOWER on IntegriCloud