diff --git a/src/device.c b/src/device.c index 493b6a80..7d191c3b 100644 --- a/src/device.c +++ b/src/device.c @@ -424,11 +424,6 @@ struct wiphy *device_get_wiphy(struct device *device) return device->wiphy; } -struct netdev *device_get_netdev(struct device *device) -{ - return 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 e18f0ee9..5201c783 100644 --- a/src/device.h +++ b/src/device.h @@ -45,7 +45,6 @@ struct network *device_get_connected_network(struct device *device); const char *device_get_path(struct device *device); bool device_is_busy(struct device *device); struct wiphy *device_get_wiphy(struct device *device); -struct netdev *device_get_netdev(struct device *device); enum device_state device_get_state(struct device *device); uint32_t device_add_state_watch(struct device *device,