From 1ad22021d2819cbe0126dd13685397eaa0afa739 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Sun, 19 Aug 2018 23:28:58 -0500 Subject: [PATCH] device: Remove device_get_address --- src/device.c | 5 ----- src/device.h | 1 - 2 files changed, 6 deletions(-) diff --git a/src/device.c b/src/device.c index ce455fe9..cd03394e 100644 --- a/src/device.c +++ b/src/device.c @@ -434,11 +434,6 @@ uint32_t device_get_ifindex(struct device *device) return device->index; } -const uint8_t *device_get_address(struct device *device) -{ - return netdev_get_address(device->netdev); -} - enum device_state device_get_state(struct device *device) { return device->state; diff --git a/src/device.h b/src/device.h index f79ef403..e48e86cf 100644 --- a/src/device.h +++ b/src/device.h @@ -47,7 +47,6 @@ bool device_is_busy(struct device *device); struct wiphy *device_get_wiphy(struct device *device); struct netdev *device_get_netdev(struct device *device); uint32_t device_get_ifindex(struct device *device); -const uint8_t *device_get_address(struct device *device); enum device_state device_get_state(struct device *device); uint32_t device_add_state_watch(struct device *device,