summaryrefslogtreecommitdiffstats
path: root/net/mac802154/main.c
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-10-25 17:16:42 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-10-25 21:55:39 +0200
commitc6f635faf3bca66cf73f6b3319a054959e367b19 (patch)
treeaa9e7075e0db5bcd7cf87ff9cf6d8e869f803cda /net/mac802154/main.c
parentmac802154: rename dev_workqueue to workqueue (diff)
downloadlinux-c6f635faf3bca66cf73f6b3319a054959e367b19.tar.xz
linux-c6f635faf3bca66cf73f6b3319a054959e367b19.zip
mac802154: remove ieee802154_addr from driver_ops
This driver_ops callback function is never used by any driver. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
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: