]> git.sur5r.net Git - u-boot/commitdiff
net: e1000: Remove CONFIG_MVBC_1G
authorBin Meng <bmeng.cn@gmail.com>
Mon, 16 Nov 2015 09:19:17 +0000 (01:19 -0800)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 22 Dec 2015 02:00:53 +0000 (20:00 -0600)
CONFIG_MVBC_1G is not referenced anywhere, hence remove it.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/e1000.c

index 508ebfb55bd072d0793e7dffbc2b4267f53a5645..6be2d9f98fe3060296045c188e82d125fa6e9650 100644 (file)
@@ -5286,7 +5286,6 @@ static int e1000_init_one(struct e1000_hw *hw, int cardnum, pci_dev_t devno,
 
 #ifndef CONFIG_E1000_NO_NVM
        /* Validate the EEPROM and get chipset information */
-#if !defined(CONFIG_MVBC_1G)
        if (e1000_init_eeprom_params(hw)) {
                E1000_ERR(hw, "EEPROM is invalid!\n");
                return -EINVAL;
@@ -5294,7 +5293,6 @@ static int e1000_init_one(struct e1000_hw *hw, int cardnum, pci_dev_t devno,
        if ((E1000_READ_REG(hw, I210_EECD) & E1000_EECD_FLUPD) &&
            e1000_validate_eeprom_checksum(hw))
                return -ENXIO;
-#endif
        e1000_read_mac_addr(hw, enetaddr);
 #endif
        e1000_get_bus_type(hw);