summaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/device.c b/src/device.c
index 0fda950d..ea176807 100644
--- a/src/device.c
+++ b/src/device.c
@@ -54,7 +54,6 @@ struct connman_device {
char *ident;
char *path;
char *devname;
- int phyindex;
int index;
guint pending_timeout;
@@ -423,8 +422,6 @@ struct connman_device *connman_device_create(const char *node,
device->type = type;
device->name = g_strdup(type2description(device->type));
- device->phyindex = -1;
-
device->networks = g_hash_table_new_full(g_str_hash, g_str_equal,
g_free, free_network);
@@ -514,17 +511,6 @@ int connman_device_get_index(struct connman_device *device)
return device->index;
}
-int __connman_device_get_phyindex(struct connman_device *device)
-{
- return device->phyindex;
-}
-
-void __connman_device_set_phyindex(struct connman_device *device,
- int phyindex)
-{
- device->phyindex = phyindex;
-}
-
/**
* connman_device_set_interface:
* @device: device structure