]> Pileus Git - ~andy/linux/blobdiff - drivers/net/ethernet/smsc/smc911x.c
net/ethernet: remove useless is_valid_ether_addr from drivers ndo_open
[~andy/linux] / drivers / net / ethernet / smsc / smc911x.c
index 8d15f7a74b4520cc57d43a034900cc76fcc25282..990f57467a15ba5b28c0f6f9fe2ba1987e408c71 100644 (file)
@@ -1400,16 +1400,6 @@ smc911x_open(struct net_device *dev)
 
        DBG(SMC_DEBUG_FUNC, "%s: --> %s\n", dev->name, __func__);
 
-       /*
-        * Check that the address is valid.  If its not, refuse
-        * to bring the device up.       The user must specify an
-        * address using ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx
-        */
-       if (!is_valid_ether_addr(dev->dev_addr)) {
-               PRINTK("%s: no valid ethernet hw addr\n", __func__);
-               return -EINVAL;
-       }
-
        /* reset the hardware */
        smc911x_reset(dev);