mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 04:32:37 +01:00
device: Remove device_get_ifindex
This commit is contained in:
parent
1ad22021d2
commit
92e7e63af5
@ -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;
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user