device: Remove unused device_get_connected_network

This commit is contained in:
Denis Kenzior 2018-09-04 16:10:44 -05:00
parent 1962549152
commit 5e2cce2e0b
2 changed files with 1 additions and 6 deletions

View File

@ -114,11 +114,6 @@ static bool new_scan_results(uint32_t wiphy_id, uint32_t ifindex, int err,
return true; return true;
} }
struct network *device_get_connected_network(struct device *device)
{
return device->station->connected_network;
}
/* TODO: Remove when Station/Device is split */ /* TODO: Remove when Station/Device is split */
bool device_is_busy(struct device *device) bool device_is_busy(struct device *device)
{ {

View File

@ -25,9 +25,9 @@
struct scan_bss; struct scan_bss;
struct wiphy; struct wiphy;
struct netdev; struct netdev;
struct network;
struct device; struct device;
struct network *device_get_connected_network(struct device *device);
bool device_is_busy(struct device *device); bool device_is_busy(struct device *device);
void device_disassociated(struct device *device); void device_disassociated(struct device *device);