summaryrefslogtreecommitdiff
path: root/net/mac802154/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac802154/main.c')
-rw-r--r--net/mac802154/main.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/net/mac802154/main.c b/net/mac802154/main.c
index 5ce3184bc674..0e9a6a203f7a 100644
--- a/net/mac802154/main.c
+++ b/net/mac802154/main.c
@@ -61,16 +61,6 @@ int mac802154_slave_open(struct net_device *dev)
goto err;
}
- if (local->ops->ieee_addr) {
- __le64 addr = ieee802154_devaddr_from_raw(dev->dev_addr);
-
- res = local->ops->ieee_addr(&local->hw, addr);
- WARN_ON(res);
- if (res)
- goto err;
- mac802154_dev_set_ieee_addr(dev);
- }
-
netif_start_queue(dev);
return 0;
err: