From dd6bd66671552e0e6781b922db4095ecb7ad933d Mon Sep 17 00:00:00 2001 From: Pyun YongHyeon Date: Wed, 2 Jul 2008 04:27:36 +0000 Subject: [PATCH] Remove duplicated H/W revision check. --- sys/dev/re/if_re.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c index 2b0ef3a46503..bb0a65da5f23 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)