3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

device: Remove device_get_ifindex

This commit is contained in:
Denis Kenzior 2018-08-19 23:30:06 -05:00
parent 1ad22021d2
commit 92e7e63af5
2 changed files with 0 additions and 6 deletions

View File

@ -429,11 +429,6 @@ struct netdev *device_get_netdev(struct device *device)
return device->netdev; return device->netdev;
} }
uint32_t device_get_ifindex(struct device *device)
{
return device->index;
}
enum device_state device_get_state(struct device *device) enum device_state device_get_state(struct device *device)
{ {
return device->state; return device->state;

View File

@ -46,7 +46,6 @@ const char *device_get_path(struct device *device);
bool device_is_busy(struct device *device); bool device_is_busy(struct device *device);
struct wiphy *device_get_wiphy(struct device *device); struct wiphy *device_get_wiphy(struct device *device);
struct netdev *device_get_netdev(struct device *device); struct netdev *device_get_netdev(struct device *device);
uint32_t device_get_ifindex(struct device *device);
enum device_state device_get_state(struct device *device); enum device_state device_get_state(struct device *device);
uint32_t device_add_state_watch(struct device *device, uint32_t device_add_state_watch(struct device *device,