]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/ieee802154/fakehard.c
mmc: sdhci: eliminate sdhci_of_host and sdhci_of_data
[karo-tx-linux.git] / drivers / ieee802154 / fakehard.c
index d9d0e13efe47bc3f9610d412e7799cc67042ac1f..a5a49a1baae7227ce754a9a10806fa61e1262346 100644 (file)
@@ -393,16 +393,6 @@ static int __devinit ieee802154fake_probe(struct platform_device *pdev)
        priv = netdev_priv(dev);
        priv->phy = phy;
 
-       /*
-        * If the name is a format string the caller wants us to do a
-        * name allocation.
-        */
-       if (strchr(dev->name, '%')) {
-               err = dev_alloc_name(dev, dev->name);
-               if (err < 0)
-                       goto out;
-       }
-
        wpan_phy_set_dev(phy, &pdev->dev);
        SET_NETDEV_DEV(dev, &phy->dev);