aboutsummaryrefslogtreecommitdiff
path: root/src/mm-plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mm-plugin.c')
-rw-r--r--src/mm-plugin.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mm-plugin.c b/src/mm-plugin.c
index e375bb1b..59a8b327 100644
--- a/src/mm-plugin.c
+++ b/src/mm-plugin.c
@@ -49,7 +49,6 @@ static gchar *virtual_port[] = {"smd0", NULL};
typedef struct {
gchar *name;
- GUdevClient *client;
GHashTable *tasks;
/* Plugin-specific setups */
@@ -596,10 +595,6 @@ mm_plugin_init (MMPlugin *self)
{
MMPluginPrivate *priv = MM_PLUGIN_GET_PRIVATE (self);
- /* We pass NULL as we won't need to get notified about uevents,
- * we just use this client for sync queries. */
- priv->client = g_udev_client_new (NULL);
-
/* Defaults */
priv->send_delay = 100000;
}
@@ -728,8 +723,6 @@ finalize (GObject *object)
g_free (priv->name);
- g_object_unref (priv->client);
-
G_OBJECT_CLASS (mm_plugin_parent_class)->finalize (object);
}