device: Remove device_get_netdev

This commit is contained in:
Denis Kenzior 2018-08-19 23:37:29 -05:00
parent 8d6f3021e3
commit 7e7bf126d3
2 changed files with 0 additions and 6 deletions

View File

@ -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;

View File

@ -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,