3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-17 17:39:28 +01:00

device: Remove unneeded typedefs/enums

This commit is contained in:
Denis Kenzior 2018-08-19 22:55:25 -05:00
parent 9ca72b9527
commit a277a424f3
2 changed files with 0 additions and 17 deletions

View File

@ -47,14 +47,6 @@
#include "src/ap.h"
#include "src/adhoc.h"
struct device_watchlist_item {
uint32_t id;
device_watch_func_t added;
device_watch_func_t removed;
void *userdata;
device_destroy_func_t destroy;
};
struct autoconnect_entry {
uint16_t rank;
struct network *network;

View File

@ -28,12 +28,6 @@ struct wiphy;
struct netdev;
struct device;
enum device_event {
DEVICE_EVENT_INSERTED,
DEVICE_EVENT_REMOVED,
DEVICE_EVENT_MODE_CHANGED,
};
enum device_state {
DEVICE_STATE_OFF = 0, /* Interface down */
DEVICE_STATE_DISCONNECTED, /* Disconnected, no auto-connect */
@ -44,9 +38,6 @@ enum device_state {
DEVICE_STATE_ROAMING
};
typedef void (*device_watch_func_t)(struct device *device,
enum device_event event,
void *userdata);
typedef void (*device_state_watch_func_t)(enum device_state, void *userdata);
typedef void (*device_destroy_func_t)(void *userdata);