|
@@ -2463,11 +2463,6 @@ static int __devinit enic_probe(struct pci_dev *pdev,
|
|
|
enic->port_mtu = enic->config.mtu;
|
|
|
(void)enic_change_mtu(netdev, enic->port_mtu);
|
|
|
|
|
|
-#ifdef CONFIG_PCI_IOV
|
|
|
- if (enic_is_sriov_vf(enic) && is_zero_ether_addr(enic->mac_addr))
|
|
|
- random_ether_addr(enic->mac_addr);
|
|
|
-#endif
|
|
|
-
|
|
|
err = enic_set_mac_addr(netdev, enic->mac_addr);
|
|
|
if (err) {
|
|
|
dev_err(dev, "Invalid MAC address, aborting\n");
|