diff options
Diffstat (limited to 'src/mm-plugin.c')
-rw-r--r-- | src/mm-plugin.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/mm-plugin.c b/src/mm-plugin.c index 5b47a324..64393bd7 100644 --- a/src/mm-plugin.c +++ b/src/mm-plugin.c @@ -578,26 +578,6 @@ out: g_object_unref (async_result); } -void -mm_plugin_supports_port_cancel (MMPlugin *plugin, - const char *subsys, - const char *name) -{ - MMPlugin *self = MM_PLUGIN (plugin); - MMPluginPrivate *priv = MM_PLUGIN_GET_PRIVATE (self); - MMPortProbe *probe; - gchar *key; - - key = get_key (subsys, name); - probe = g_hash_table_lookup (priv->tasks, key); - if (probe) { - mm_port_probe_run_cancel (probe); - g_hash_table_remove (priv->tasks, key); - } - - g_free (key); -} - /*****************************************************************************/ MMBaseModem * |